Always do the worker/wrapper split for NOINLINEs
[ghc.git] / testsuite / tests / simplCore / should_run / all.T
1 # Args to compile_and_run are:
2 #       extra compile flags
3 #       extra run flags
4 #       expected process return value, if not zero
5
6 # Only compile with optimisation
7 def f( name, opts ):
8   opts.only_ways = ['optasm']
9
10 setTestOpts(f)
11
12 test('simplrun001', normal, compile_and_run, [''])
13 test('simplrun002', normal, compile_and_run, [''])
14 test('simplrun003', normal, compile_and_run, [''])
15 test('simplrun004', normal, compile_and_run, [''])
16 test('simplrun005', normal, compile_and_run, [''])
17
18 test('simplrun007', normal, compile_and_run, [''])
19 test('simplrun008', normal, compile_and_run, [''])
20 test('simplrun009', normal, compile_and_run, [''])
21 test('simplrun010', [extra_run_opts('24 16 8 +RTS -M10m -RTS'),
22                      exit_code(251)]
23                   , compile_and_run, [''])
24 test('simplrun011', normal, compile_and_run, ['-fno-worker-wrapper'])
25
26 # Really we'd like to run T2486 too, to check that its
27 # runtime has not gone up, but here I just compile it so that
28 # the output of -ddump-rules can be compared
29 test('T2486', normal, compile, [''])
30 test('T2756', normal, compile_and_run, [''])
31 test('T3437', extra_run_opts('+RTS -M10m'), compile_and_run, [''])
32
33 test('SeqRule', only_ways(['optasm']), compile_and_run, [''])
34
35 test('runST', normal, compile_and_run, [''])
36
37 test('T3403', normal, compile_and_run, ['-package containers'])
38 test('T3591', normal, compile_and_run, [''])
39 test('T4814', normal, compile_and_run, [''])
40
41 # Run this test *without* optimisation too
42 test('T3959', only_ways(['normal','optasm']), compile_and_run, [''])
43 test('T3983', [only_ways(['normal', 'optasm'])], multimod_compile_and_run,
44      ['T3983', ''])
45 test('T3972', [], compile_and_run, [''])
46 test('T5315', normal, compile_and_run, [''])
47 test('T5453', normal, compile_and_run, [''])
48 test('T5441', [], multimod_compile_and_run, ['T5441', ''])
49 # This compares Core from integer-gmp
50 test('T5603', reqlib('integer-gmp'), compile_and_run, [''])
51 test('T2110', normal, compile_and_run, [''])
52 test('AmapCoerce', normal, compile_and_run, [''])
53 test('T16208', normal, compile_and_run, [''])
54
55 # Run these tests *without* optimisation too
56 test('T5625', [ only_ways(['normal','optasm']), exit_code(1) ], compile_and_run, [''])
57 test('T5587', [ only_ways(['normal','optasm']), exit_code(1) ], compile_and_run, [''])
58 test('T5915', only_ways(['normal','optasm']), compile_and_run, [''])
59 test('T5920', only_ways(['normal','optasm']), compile_and_run, [''])
60 test('T5997', normal, compile_and_run, [''])
61 test('T7101', normal, compile_and_run, [''])
62 test('T7924', exit_code(1), compile_and_run, [''])
63
64 # Run this test *without* optimisation too
65 test('T457', [ only_ways(['normal','optasm']), exit_code(1) ], compile_and_run, [''])
66
67 test('T9128', normal, compile_and_run, [''])
68 test('T9390', normal, compile_and_run, [''])
69 test('T10830', extra_run_opts('+RTS -K100k -RTS'), compile_and_run, [''])
70 test('T11172', normal, compile_and_run, [''])
71 test('T11731', normal, compile_and_run, ['-fspec-constr'])
72 test('T7611', normal, compile_and_run, [''])
73 test('T12689broken', expect_broken(12689), compile_and_run, [''])
74 test('T12689a', normal, compile_and_run, [''])
75
76 test('T13172', only_ways(['optasm']), compile_and_run, ['-dcore-lint'])
77 test('T13227', normal, compile_and_run, [''])
78 test('T13733', expect_broken(13733), compile_and_run, [''])
79 test('T13429', normal, compile_and_run, [''])
80 test('T13429_2', normal, compile_and_run, [''])
81 test('T13750', normal, compile_and_run, [''])
82 test('T14178', normal, compile_and_run, [''])
83 test('T14768', reqlib('vector'), compile_and_run, [''])
84 test('T14868',
85      [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))],
86      compile_and_run, [''])
87 test('T14894', [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))], compile_and_run, [''])
88 test('T14965', normal, compile_and_run, [''])
89 test('T15114', only_ways('optasm'), compile_and_run, [''])
90 test('T15436', normal, compile_and_run, [''])
91 test('T15840', normal, compile_and_run, [''])
92 test('T15840a', normal, compile_and_run, [''])