4ba5a71e9415728c25064cc35e9d1ea19fd935c1
[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, [''])
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 test('T5603', normal, compile_and_run, [''])
50 test('T2110', normal, compile_and_run, [''])
51 test('AmapCoerce', normal, compile_and_run, [''])
52
53 # Run these tests *without* optimisation too
54 test('T5625', [ only_ways(['normal','optasm']), exit_code(1) ], compile_and_run, [''])
55 test('T5587', [ only_ways(['normal','optasm']), exit_code(1) ], compile_and_run, [''])
56 test('T5915', only_ways(['normal','optasm']), compile_and_run, [''])
57 test('T5920', only_ways(['normal','optasm']), compile_and_run, [''])
58 test('T5997', normal, compile_and_run, [''])
59 test('T7101', normal, compile_and_run, [''])
60 test('T7924', exit_code(1), compile_and_run, [''])
61
62 # Run this test *without* optimisation too
63 test('T457', [ only_ways(['normal','optasm']), exit_code(1) ], compile_and_run, [''])
64
65 test('T9128', normal, compile_and_run, [''])
66 test('T9390', normal, compile_and_run, [''])
67 test('T10830', extra_run_opts('+RTS -K100k -RTS'), compile_and_run, [''])
68 test('T11172', normal, compile_and_run, [''])
69 test('T11731', normal, compile_and_run, ['-fspec-constr'])
70 test('T7611', normal, compile_and_run, [''])
71 test('T12689broken', expect_broken(12689), compile_and_run, [''])
72 test('T12689a', normal, compile_and_run, [''])
73
74 test('T13172', only_ways(['optasm']), compile_and_run, ['-dcore-lint'])
75 test('T13227', normal, compile_and_run, [''])
76 test('T13733', expect_broken(13733), compile_and_run, [''])
77 test('T13429', normal, compile_and_run, [''])
78 test('T13429_2', normal, compile_and_run, [''])
79 test('T13750', normal, compile_and_run, [''])
80 test('T14178', normal, compile_and_run, [''])