For the full testsuite documentation, please see here.
Commands to run testsuite:
- Full testsuite:
- Using more threads:
- Reduced (fast) testsuite:
- Run a specific test:
- Test a specific 'way':
- Test a specifc stage of GHC:
- Skip performance tests:
- Set verbosity:
make VERBOSE=nwhere n=0: No per-test ouput, n=1: Only failures, n=2: Progress output, n=3: Include commands called (default)
- Pass in extra GHC options:
You can also change directory to a specific test folder to run that individual test or group of tests. For example:
$ cd tests/array $ make
The testsuite can be run in a variety of 'ways'. This concept refers
to different ways that GHC can compile the code. For example, using
the native code generator (
-fasm) is one way, while using the LLVM
code generator (
-fllvm) is another way.
The various ways that GHC supports are defined in
Please see the more extensive documentation here.