Commit f14100eb authored by Ben Gamari's avatar Ben Gamari 🐢

testsuite: Add nonmoving_thr_ghc way

This uses the nonmoving collector when compiling the testcases.
parent 764c6307
...@@ -28,7 +28,8 @@ config.other_ways = ['prof', 'normal_h', ...@@ -28,7 +28,8 @@ config.other_ways = ['prof', 'normal_h',
'ghci-ext', 'ghci-ext-prof', 'ghci-ext', 'ghci-ext-prof',
'ext-interp', 'ext-interp',
'nonmoving', 'nonmoving',
'nonmoving_thr'] 'nonmoving_thr',
'nonmoving_thr_ghc']
if ghc_with_native_codegen: if ghc_with_native_codegen:
config.compile_ways.append('optasm') config.compile_ways.append('optasm')
...@@ -101,6 +102,7 @@ config.way_flags = { ...@@ -101,6 +102,7 @@ config.way_flags = {
'ext-interp' : ['-fexternal-interpreter'], 'ext-interp' : ['-fexternal-interpreter'],
'nonmoving' : [], 'nonmoving' : [],
'nonmoving_thr': ['-threaded'], 'nonmoving_thr': ['-threaded'],
'nonmoving_thr_ghc': ['+RTS', '-xn', '-N2', '-RTS', '-threaded'],
} }
config.way_rts_flags = { config.way_rts_flags = {
...@@ -141,6 +143,7 @@ config.way_rts_flags = { ...@@ -141,6 +143,7 @@ config.way_rts_flags = {
'ext-interp' : [], 'ext-interp' : [],
'nonmoving' : ['-xn'], 'nonmoving' : ['-xn'],
'nonmoving_thr' : ['-xn', '-N2'], 'nonmoving_thr' : ['-xn', '-N2'],
'nonmoving_thr_ghc': ['-xn', '-N2'],
} }
# Useful classes of ways that can be used with only_ways(), omit_ways() and # Useful classes of ways that can be used with only_ways(), omit_ways() and
......
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