testsuite: Add nonmoving_thr_ghc way
authorBen Gamari <ben@smart-cactus.org>
Tue, 12 Feb 2019 03:03:33 +0000 (22:03 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 22 Oct 2019 16:18:44 +0000 (12:18 -0400)
This uses the nonmoving collector when compiling the testcases.

testsuite/config/ghc

index 16c387c..9a3459e 100644 (file)
@@ -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