summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_compile/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/codeGen/should_compile/all.T')
-rw-r--r--testsuite/tests/codeGen/should_compile/all.T29
1 files changed, 22 insertions, 7 deletions
diff --git a/testsuite/tests/codeGen/should_compile/all.T b/testsuite/tests/codeGen/should_compile/all.T
index 58600faa98..4c636eb57d 100644
--- a/testsuite/tests/codeGen/should_compile/all.T
+++ b/testsuite/tests/codeGen/should_compile/all.T
@@ -27,7 +27,12 @@ test('T9155', normal, compile, ['-O2'])
test('T9303', normal, compile, ['-O2'])
test('T9329', [when(unregisterised(), expect_broken(15467)), cmm_src], compile, ['-no-hs-main'])
-test('debug', normal, makefile_test, [])
+test('debug',
+ [ normal,
+ js_skip # requires Cmm
+ ],
+ makefile_test, [])
+
test('T9964', normal, compile, ['-O'])
test('T10518', [cmm_src], compile, ['-no-hs-main'])
test('T10667', normal, compile, ['-g'])
@@ -66,30 +71,40 @@ test('T17334', [ unless(have_ncg() and (arch('x86_64') or arch('i386')), skip)
, only_ways(['normal'])
], compile, ['-O'])
-test('T14373', [],
+test('T14373',
+ [ js_skip # JS backend doesn't produce Cmm
+ ],
multimod_compile_filter, ['T14373', '-fasm -O2 -c -ddump-cmm-from-stg',
'grep -e "const T14373\.._closure+.;"'])
switch_skeleton_only = 'grep -e "switch \[" -e "case " -e "default: " | sed -e "s|\] .*|\]|g" -e "s|goto .*|goto |g"'
-test('T14373a', [],
+test('T14373a',
+ [ js_skip # JS backend doesn't produce Cmm
+ ],
multimod_compile_filter, ['T14373a', '-fasm -O2 -c -ddump-cmm-from-stg',
switch_skeleton_only])
-test('T14373b', [],
+test('T14373b',
+ [ js_skip # JS backend doesn't produce Cmm
+ ],
multimod_compile_filter, ['T14373b', '-fasm -O2 -c -ddump-cmm-from-stg',
switch_skeleton_only])
-test('T14373c', [],
+test('T14373c',
+ [ js_skip # JS backend doesn't produce Cmm
+ ],
multimod_compile_filter, ['T14373c', '-fasm -O2 -c -ddump-cmm-from-stg',
switch_skeleton_only])
switch_skeleton_and_entries_only = ('grep -e "switch \[" -e "case " -e "default: " -e "Default_entry(" -e "R1 = .*_closure+2;"'
'| sed -e "s|\] .*|\]|g" -e "s|goto .*|goto |g" -e "s|R1 = .*_closure+2;.*|R1 = XYZ_closure+2;|g" -e "s|//.*|//|g"')
-test('T14373d', [],
+test('T14373d',
+ [ js_skip # JS backend doesn't produce Cmm
+ ],
multimod_compile_filter, ['T14373d', '-fasm -O2 -c -ddump-cmm-from-stg',
switch_skeleton_and_entries_only])
-test('T17648', normal, makefile_test, [])
+test('T17648', js_broken(22370), makefile_test, [])
test('T17904', normal, compile, ['-O'])
test('T18227A', normal, compile, [''])
test('T18227B', normal, compile, [''])