ff138e4e4dfb5654296004efa152f5ca85af31aa
[ghc.git] / testsuite / tests / typecheck / 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 # -----------------------------------------------------------------------------
7 # Pick an arbitrary few to run when 'fast' is on
8
9 test('tcrun001', normal, compile_and_run, [''])
10 test('tcrun002', normal, compile_and_run, [''])
11 test('tcrun003', normal, compile_and_run, [''])
12 test('tcrun004', normal, compile_and_run, [''])
13 test('tcrun005', normal, compile_and_run, [''])
14 test('Defer01', normal, compile_and_run, [''])
15 test('TcNullaryTC', [], compile_and_run, [''])
16 test('TcCoercible', [], compile_and_run, [''])
17
18 # -----------------------------------------------------------------------------
19 # Skip everything else if fast is on
20
21 setTestOpts(when(fast(), skip))
22
23 test('tcrun006', normal, compile_and_run, [''])
24 test('tcrun008', normal, compile_and_run, [''])
25 test('tcrun009', normal, compile_and_run, [''])
26 test('tcrun010', normal, compile_and_run, [''])
27 test('tcrun011', normal, compile_and_run, [''])
28 test('tcrun012', normal, compile_and_run, [''])
29 test('tcrun013', normal, compile_and_run, [''])
30 test('tcrun014', normal, compile_and_run, [''])
31 test('tcrun015', normal, compile_and_run, ['-O'])
32 test('tcrun016', normal, compile_and_run, [''])
33 test('tcrun017', normal, compile_and_run, [''])
34 test('tcrun018', normal, compile_and_run, [''])
35 test('tcrun019', normal, compile_and_run, [''])
36 test('tcrun020', normal, compile_and_run, [''])
37 test('tcrun021', normal, compile_and_run, ['-package containers'])
38 test('tcrun022', omit_ways(['ghci']), compile_and_run, ['-O'])
39 test('tcrun023', [when(doing_ghci(), extra_hc_opts('-fobject-code'))],
40      compile_and_run, ['-O'])
41 test('tcrun024', normal, compile_and_run, ['-O'])
42 test('tcrun025', extra_clean(['TcRun025_B.hi', 'TcRun025_B.o']),
43      multimod_compile_and_run, ['tcrun025',''])
44 test('tcrun026', normal, compile_and_run, [''])
45 test('tcrun027', normal, compile_and_run, [''])
46 test('tcrun028', normal, compile_and_run, [''])
47 test('tcrun029', normal, compile_and_run, [''])
48 test('tcrun030', normal, compile_and_run, [''])
49 test('tcrun031', normal, compile_and_run, [''])
50 test('tcrun032', normal, compile_and_run, [''])
51 test('tcrun033', normal, compile_and_run, [''])
52 test('tcrun034', normal, compile_and_run, [''])
53 test('tcrun035', normal, compile_and_run, [''])
54 test('tcrun036', normal, compile_and_run, [''])
55 test('tcrun037', normal, compile_and_run, [''])
56
57 test('tcrun038',
58      extra_clean(['TcRun038_B.hi', 'TcRun038_B.o']),
59      multimod_compile_and_run,
60      ['tcrun038',''])
61
62 test('tcrun039', normal, compile_and_run, [''])
63 test('tcrun040', normal, compile_and_run, [''])
64 test('tcrun041', omit_ways(['ghci']), compile_and_run, [''])
65 test('tcrun042', normal, compile_fail, [''])
66 test('tcrun043', normal, compile_and_run, [''])
67 test('tcrun044', normal, compile_and_run, [''])
68 test('tcrun045', normal, compile_fail, [''])
69 test('tcrun046', normal, compile_and_run, [''])
70 test('tcrun047', omit_ways(['ghci']), compile_and_run, [''])
71 test('tcrun048', omit_ways(['ghci']), compile_and_run, [''])
72 test('tcrun049', omit_ways(['ghci']), compile_and_run, [''])
73 test('tcrun050', omit_ways(['ghci']), compile_and_run, [''])
74 test('tcrun051', omit_ways(['ghci']), compile_and_run, [''])
75
76 test('church', normal, compile_and_run, [''])
77 test('testeq2', normal, compile_and_run, [''])
78 test('T1624', normal, compile_and_run, [''])
79 test('IPRun', normal, compile_and_run, [''])
80 test('IPLocation', normal, compile_and_run, [''])
81 test('T10845', normal, compile_and_run, [''])
82 test('T10846', normal, compile_and_run, [''])
83
84 # Support files for T1735 are in directory T1735_Help/
85 test('T1735', normal, multimod_compile_and_run, ['T1735',''])
86
87 test('T3731', normal, compile_and_run, [''])
88 test('T3731-short', normal, compile_and_run, [''])
89 test('T3500a', normal, compile_and_run, [''])
90 test('T3500b', normal, compile_and_run, [''])
91 test('T4809', reqlib('mtl'), compile_and_run, [''])
92 test('T2722', normal, compile_and_run, [''])
93 test('mc17', normal, compile_and_run, [''])
94 test('T5759', normal, compile_and_run, [''])
95 test('T5573a', omit_ways(['ghci']), compile_and_run, [''])
96 test('T5573b', omit_ways(['ghci']), compile_and_run, [''])
97 test('T7023', normal, compile_and_run, [''])
98 test('T7126', normal, compile_and_run, [''])
99 test('T6117', normal, compile_and_run, [''])
100 test('T5751', normal, compile_and_run, [''])
101 test('T5913', normal, compile_and_run, [''])
102 test('T7748', normal, compile_and_run, [''])
103 test('T7861', [omit_ways('debug'), exit_code(1)], compile_and_run, [''])
104 test('TcTypeNatSimpleRun', normal, compile_and_run, [''])
105 test('TcTypeSymbolSimpleRun', normal, compile_and_run, [''])
106 test('T8119', normal, ghci_script, ['T8119.script'])
107 test('T8492', normal, compile_and_run, [''])
108 test('T8739', normal, compile_and_run, [''])
109 test('T9497a-run', [exit_code(1)], compile_and_run, ['-fdefer-typed-holes'])
110 test('T9497b-run', [exit_code(1)], compile_and_run, ['-fdefer-typed-holes -fno-warn-typed-holes'])
111 test('T9497c-run', [exit_code(1)], compile_and_run, ['-fdefer-type-errors -fno-warn-typed-holes'])
112 test('T9858c', normal, compile_and_run, [''])
113 test('T9858d', normal, compile_and_run, [''])
114 test('T10284', exit_code(1), compile_and_run, [''])
115 test('T11049', exit_code(1), compile_and_run, [''])
116 test('T11230', normal, compile_and_run, [''])
117 test('TypeOf', normal, compile_and_run, [''])
118 test('TypeRep', normal, compile_and_run, [''])
119 test('T11120', normal, compile_and_run, [''])
120 test('KindInvariant', normal, ghci_script, ['KindInvariant.script'])
121 test('StrictPats', normal, compile_and_run, [''])
122 test('T12809', normal, compile_and_run, [''])
123 test('EtaExpandLevPoly', normal, compile_and_run, [''])