summaryrefslogtreecommitdiff
path: root/testsuite/config
diff options
context:
space:
mode:
authorsimonmar <unknown>2004-03-01 13:27:28 +0000
committersimonmar <unknown>2004-03-01 13:27:28 +0000
commit5d5457f35f1883ad250dad1e71c595cd834cb4be (patch)
tree01f7c52cfa8857f642ad7dacd4ad09a0cee39587 /testsuite/config
parent67dc41f5ba76025491cb977dd8e432a91fa5059b (diff)
downloadhaskell-5d5457f35f1883ad250dad1e71c595cd834cb4be.tar.gz
[project @ 2004-03-01 13:27:28 by simonmar]
Add 'threaded' way to run tests with the threaded RTS.
Diffstat (limited to 'testsuite/config')
-rw-r--r--testsuite/config/ghc20
1 files changed, 12 insertions, 8 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 16cd74b8bf..e48a57fe47 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -26,13 +26,17 @@ if (ghc_with_profiling == 1):
if (ghc_with_interpreter == 1):
config.run_ways.append('ghci')
-config.way_flags = { 'normal' : [],
- 'opt' : ['-O'],
- 'optasm' : ['-O -fasm'],
- 'prof' : ['-O -prof -auto-all'],
- 'unreg' : ['-unreg'],
- 'ghci' : ['--interactive', '-v0'],
- 'extcore' : ['-fext-core'],
- 'optextcore' : ['-O -fext-core']
+if (ghc_with_threaded_rts == 1):
+ config.run_ways.append('threaded')
+
+config.way_flags = { 'normal' : [],
+ 'opt' : ['-O'],
+ 'optasm' : ['-O -fasm'],
+ 'prof' : ['-O -prof -auto-all'],
+ 'unreg' : ['-unreg'],
+ 'ghci' : ['--interactive', '-v0'],
+ 'extcore' : ['-fext-core'],
+ 'optextcore' : ['-O -fext-core'],
+ 'threaded' : ['-threaded']
}