Commit 5d5457f3 authored by simonmar's avatar simonmar

[project @ 2004-03-01 13:27:28 by simonmar]

Add 'threaded' way to run tests with the threaded RTS.
parent 67dc41f5
......@@ -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']
}
......@@ -53,6 +53,12 @@ else
RUNTEST_OPTS += -e ghc_with_interpreter=0
endif
ifeq "$(filter thr, $(GhcRTSWays))" "thr"
RUNTEST_OPTS += -e ghc_with_threaded_rts=1
else
RUNTEST_OPTS += -e ghc_with_threaded_rts=0
endif
RUNTEST_OPTS += \
--config=$(CONFIG) \
-e config.compiler=\"$(TEST_HC)\" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment