Skip to content
Snippets Groups Projects
Commit d0322333 authored by Ben Gamari's avatar Ben Gamari
Browse files

testsuite: Add nonmoving_thr_ghc way

This uses the nonmoving collector when compiling the testcases.
parent 56820c4f
No related branches found
No related tags found
No related merge requests found
...@@ -25,8 +25,8 @@ config.other_ways = ['prof', 'normal_h', ...@@ -25,8 +25,8 @@ config.other_ways = ['prof', 'normal_h',
'debug', 'debug',
'ghci-ext', 'ghci-ext-prof', 'ghci-ext', 'ghci-ext-prof',
'ext-interp', 'ext-interp',
'nonmoving', 'nonmoving', 'nonmoving_thr',
X 'nonmoving_thr_ghc'] 'nonmoving_thr_ghc']
if ghc_with_native_codegen: if ghc_with_native_codegen:
config.compile_ways.append('optasm') config.compile_ways.append('optasm')
...@@ -99,6 +99,7 @@ config.way_flags = { ...@@ -99,6 +99,7 @@ config.way_flags = {
'ext-interp' : ['-fexternal-interpreter'], 'ext-interp' : ['-fexternal-interpreter'],
'nonmoving' : ['-debug'], 'nonmoving' : ['-debug'],
'nonmoving_thr': ['-threaded -debug'], 'nonmoving_thr': ['-threaded -debug'],
'nonmoving_thr_ghc': ['+RTS', '-xn', '-N2', '-RTS', '-threaded', '-debug'],
} }
config.way_rts_flags = { config.way_rts_flags = {
...@@ -139,6 +140,7 @@ config.way_rts_flags = { ...@@ -139,6 +140,7 @@ config.way_rts_flags = {
'ext-interp' : [], 'ext-interp' : [],
'nonmoving' : ['-DS -xn'], 'nonmoving' : ['-DS -xn'],
'nonmoving_thr' : ['-DS -xn -N2'], 'nonmoving_thr' : ['-DS -xn -N2'],
'nonmoving_thr_ghc': ['-DS -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment