testsuite: Use makefile_test
[ghc.git] / testsuite / tests / codeGen / should_compile / all.T
1 test('cg001', normal, compile, [''])
2 test('cg002', normal, compile, [''])
3 test('cg003', only_ways(['optasm']), compile, [''])
4 test('cg004', normal, compile, [''])
5 test('cg005', only_ways(['optasm']), compile, [''])
6 test('cg006', normal, compile, [''])
7 test('cg007', normal, compile, [''])
8 test('cg008', normal, compile, [''])
9
10 test('T1916', normal, compile, [''])
11 test('T2388', normal, compile, [''])
12 test('T3132', normal, compile, ['-dcmm-lint'])
13 test('T3286', [], multimod_compile, ['T3286', '-v0'])
14 test('T3579', normal, compile, [''])
15 test('T2578', normal, makefile_test, [])
16 # skip llvm on i386 as we don't support fPIC
17 test('jmp_tbl', when(arch('i386'), omit_ways(llvm_ways)), compile, ['-fPIC -O'])
18 test('massive_array',
19      [ when(arch('i386'), omit_ways(llvm_ways)) ],
20      compile, ['-fPIC'])
21 test('T7237', normal, compile, [''])
22 test('T7574', [cmm_src, omit_ways(llvm_ways)], compile, [''])
23 test('T8205', normal, compile, ['-O0'])
24 test('T9155', normal, compile, ['-O2'])
25 test('T9303', normal, compile, ['-O2'])
26 test('T9329', [when(unregisterised(), expect_broken(15467)), cmm_src], compile, [''])
27
28 test('debug',
29      [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))],
30      makefile_test, [])
31 test('T9964', normal, compile, ['-O'])
32 test('T10518', [cmm_src], compile, [''])
33 test('T10667', [ when((arch('powerpc64') or arch('powerpc64le')),
34                       expect_broken(11261))],
35      compile, ['-g'])
36 test('T12115', normal, compile, [''])
37 test('T12355', normal, compile, [''])
38 test('T14999',
39      [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261)),
40       when(unregisterised(), skip),
41       unless(opsys('linux') and arch('x86_64') and have_gdb() and
42         have_readelf(), skip)],
43      makefile_test, [])
44
45 # Verify that we optimize away redundant jumps for unordered comparisons.
46 test('T15196',
47   [ unless(arch('x86_64'),skip),
48     only_ways('normal'),
49   ], makefile_test, [])
50
51 test('T15723',
52   [ unless(have_profiling(), skip),
53     unless(have_dynamic(), skip),
54   ], makefile_test, [])