From 5d5457f35f1883ad250dad1e71c595cd834cb4be Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 1 Mar 2004 13:27:28 +0000 Subject: [project @ 2004-03-01 13:27:28 by simonmar] Add 'threaded' way to run tests with the threaded RTS. --- testsuite/config/ghc | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'testsuite/config') 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'] } -- cgit v1.2.1