Commit dec07f2d authored by Simon Marlow's avatar Simon Marlow
Browse files

document stage=2, and clean up a little.

parent a4b3017e
......@@ -4,25 +4,31 @@ Running the test suite against a GHC build
NOTE: you need Python (any version >= 1.5 will probably do) in order
to use the testsuite.
To run the test suite against a GHC build in the same source tree:
To run the test suite against stage 1 of a GHC build in the same
source tree:
cd fptools/testsuite/tests/ghc-regress
cd tests/ghc-regress
make
(from now on, we'll assume that you're in the tests/ghc-regress
directory).
To run a fast version of the testsuite, which should complete in under
5 minutes on a fast machine with an optimised GHC build:
cd fptools/testsuite/tests/ghc-regress
make fast
To run the testsuite with the stage2 compiler (this is often what you
want, because GHCi tests will fail with stage1):
make stage=2
To run the test suite against a different GHC, say ghc-5.04:
cd fptools/testsuite/tests/ghc-regress
make TEST_HC=ghc-5.04
To run an individual test or tests (eg. tc054):
cd fptools/testsuite/tests/ghc-regress
make TEST=tc054
(you can also go straight to the directory containing the test and say
......@@ -30,7 +36,6 @@ To run an individual test or tests (eg. tc054):
To run the tests one particular way only (eg. GHCi):
cd fptools/testsuite/tests/ghc-regress
make WAY=ghci
For more details, see below.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment