summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-02-11 22:03:33 -0500
committerBen Gamari <ben@smart-cactus.org>2019-10-22 12:18:44 -0400
commit079879570bd697f6e8c8259bcc63eaa17f6cffaf (patch)
treead1a47038f5d9b5fc7357f7ca42e536731d2aa31
parentb281e80be5169ff3a6aa8044a9996854d9f588fa (diff)
downloadhaskell-079879570bd697f6e8c8259bcc63eaa17f6cffaf.tar.gz
testsuite: Add nonmoving_thr_ghc way
This uses the nonmoving collector when compiling the testcases.
-rw-r--r--testsuite/config/ghc5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 16c387c3cd..9a3459ea96 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -28,7 +28,8 @@ config.other_ways = ['prof', 'normal_h',
'ghci-ext', 'ghci-ext-prof',
'ext-interp',
'nonmoving',
- 'nonmoving_thr']
+ 'nonmoving_thr',
+ 'nonmoving_thr_ghc']
if ghc_with_native_codegen:
config.compile_ways.append('optasm')
@@ -101,6 +102,7 @@ config.way_flags = {
'ext-interp' : ['-fexternal-interpreter'],
'nonmoving' : [],
'nonmoving_thr': ['-threaded'],
+ 'nonmoving_thr_ghc': ['+RTS', '-xn', '-N2', '-RTS', '-threaded'],
}
config.way_rts_flags = {
@@ -141,6 +143,7 @@ config.way_rts_flags = {
'ext-interp' : [],
'nonmoving' : ['-xn'],
'nonmoving_thr' : ['-xn', '-N2'],
+ 'nonmoving_thr_ghc': ['-xn', '-N2'],
}
# Useful classes of ways that can be used with only_ways(), omit_ways() and