Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reinier Maas
GHC
Commits
aa2db0ae
Commit
aa2db0ae
authored
1 year ago
by
Ben Gamari
Committed by
Marge Bot
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
testsuite: Update documentation
parent
6078b429
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/README.md
+7
-18
7 additions, 18 deletions
testsuite/README.md
with
7 additions
and
18 deletions
testsuite/README.md
+
7
−
18
View file @
aa2db0ae
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment