Commit 54241a31 authored by Simon Marlow's avatar Simon Marlow
Browse files

test +RTS -G1 for the codeGen/should_run tests

parent 9027efbd
......@@ -63,7 +63,8 @@ config.in_tree_compiler = in_tree_compiler
config.way_flags = {
'normal' : [],
'optasm' : ['-O -fasm'],
'g1' : [],
'optasm' : ['-O -fasm'],
'llvm' : ['-fllvm'],
'optllvm' : ['-O -fllvm'],
'profasm' : ['-O -prof -auto-all -fasm'],
......@@ -85,8 +86,9 @@ config.way_flags = {
}
config.way_rts_flags = {
'normal' : [],
'optasm' : [],
'normal' : [],
'g1' : ['-G1'],
'optasm' : [],
'llvm' : [],
'optllvm' : [],
'profasm' : ['-hc'], # test heap profiling too
......
# Test +RTS -G1 here (it isn't tested anywhere else)
setTestOpts(extra_ways(['g1']))
test('cgrun001', normal, compile_and_run, [''])
test('cgrun002', normal, compile_and_run, [''])
test('cgrun003', normal, compile_and_run, [''])
......
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