Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
09de9578
Commit
09de9578
authored
Jun 06, 2013
by
dterei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme to markdown and expand.
parent
cc1b579e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
7 deletions
+39
-7
testsuite/README
testsuite/README
+0
-7
testsuite/README.md
testsuite/README.md
+39
-0
No files found.
testsuite/README
deleted
100644 → 0
View file @
cc1b579e
GHC Testsuite Readme
--------------------
For testsuite documentation, please see:
http://hackage.haskell.org/trac/ghc/wiki/Building/RunningTests
testsuite/README.md
0 → 100644
View file @
09de9578
GHC Testsuite Readme
====================
For the full testsuite documentation, please see
[
here
][
1
]
.
## Quick Guide
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`
*
Test a specifc stage of GHC:
`make stage=1`
*
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
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
`config/ghc`
## Adding Tests
Please see the more extensive documentation
[
here
][
1
]
.
[
1
]:
http://hackage.haskell.org/trac/ghc/wiki/Building/RunningTests
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment