[Git][ghc/ghc][master] testsuite: Update documentation
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Mon Jul 3 07:33:50 UTC 2023
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
aa2db0ae by Ben Gamari at 2023-07-03T03:33:29-04:00
testsuite: Update documentation
- - - - -
1 changed file:
- testsuite/README.md
Changes:
=====================================
testsuite/README.md
=====================================
@@ -7,29 +7,18 @@ For the full testsuite documentation, please see [here][1].
Commands to run testsuite:
- * Full testsuite: `make`
- * Using more threads: `make THREADS=12`
- * Reduced (fast) testsuite: `make fast`
- * Run a specific test: `make TEST=tc054`
- * Test a specific 'way': `make WAY=optllvm`
- * Keeping the run directory after test run: `make CLEANUP=0`. You will find a
- directory `{test_name}.run` in the test's source directory.
- * Test a specific stage of GHC: `make stage=1`
- * Skip performance tests: `make SKIP_PERF_TESTS=YES`
- * Set verbosity: `make VERBOSE=n`
+ * Full testsuite: `hadrian/build test`
+ * Using more threads: `hadrian/build test -j12`
+ * Reduced (fast) testsuite: `hadrian/build test --test-speed=fast`
+ * Run a specific test: `hadrian/build test --only="tc055 tc054"`
+ * Test a specific 'way': `hadrian/build test --test-way=optllvm`
+ * Skip performance tests: `hadrian/build test --skip-perf`
+ * Set verbosity: `hadrian/build test --test-verbose=<n>`
where n=0: No per-test output, n=1: Only failures,
n=2: Progress output, n=3: Include commands called (default),
n=4: Include perf test results unconditionally,
n=5: Echo commands in subsidiary make invocations
- * Pass in extra GHC options: `make EXTRA_HC_OPTS=-fvectorize`
-You can also change directory to a specific test folder to run that
-individual test or group of tests. For example:
-
-``` .sh
-$ cd tests/array
-$ make
-```
## Testsuite Ways
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/aa2db0ae9c13bc1728d8ffd9d07a523daef045a7
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/aa2db0ae9c13bc1728d8ffd9d07a523daef045a7
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230703/15096b78/attachment-0001.html>
More information about the ghc-commits
mailing list