all.T 5.24 KB
Newer Older
1
# args to compile_and_run are:
2
3
4
#	extra compile flags
#	extra run flags
#	expected process return value, if not zero
5

6
7
8
# -----------------------------------------------------------------------------
# Pick an arbitrary few to run when 'fast' is on

9
test('tcrun001', normal, compile_and_run, [''])
10
test('tcrun002', normal, compile_and_run, [''])
11
12
test('tcrun003', normal, compile_and_run, [''])
test('tcrun004', normal, compile_and_run, [''])
13
test('tcrun005', normal, compile_and_run, [''])
14
test('Defer01', normal, compile_and_run, [''])
15
16
test('TcNullaryTC', when(compiler_lt('ghc', '7.7'), skip), compile_and_run, [''])
test('TcCoercible', when(compiler_lt('ghc', '7.7'), skip), compile_and_run, [''])
17
18
19
20

# -----------------------------------------------------------------------------
# Skip everything else if fast is on

21
setTestOpts(when(fast(), skip))
22

23
24
25
26
27
28
29
30
31
32
33
34
35
36
test('tcrun006', normal, compile_and_run, [''])
test('tcrun008', normal, compile_and_run, [''])
test('tcrun009', normal, compile_and_run, [''])
test('tcrun010', normal, compile_and_run, [''])
test('tcrun011', normal, compile_and_run, [''])
test('tcrun012', normal, compile_and_run, [''])
test('tcrun013', normal, compile_and_run, [''])
test('tcrun014', normal, compile_and_run, [''])
test('tcrun015', normal, compile_and_run, ['-O'])
test('tcrun016', normal, compile_and_run, [''])
test('tcrun017', normal, compile_and_run, [''])
test('tcrun018', normal, compile_and_run, [''])
test('tcrun019', normal, compile_and_run, [''])
test('tcrun020', normal, compile_and_run, [''])
Austin Seipp's avatar
Austin Seipp committed
37
test('tcrun021', normal, compile_and_run, ['-package containers'])
38
test('tcrun022', omit_ways(['ghci']), compile_and_run, ['-O'])
39
40
test('tcrun023', [when(doing_ghci(), extra_hc_opts('-fobject-code'))],
     compile_and_run, ['-O'])
41
test('tcrun024', normal, compile_and_run, ['-O'])
Ian Lynagh's avatar
Ian Lynagh committed
42
43
test('tcrun025', extra_clean(['TcRun025_B.hi', 'TcRun025_B.o']),
     multimod_compile_and_run, ['tcrun025',''])
44
test('tcrun026', normal, compile_and_run, [''])
45
test('tcrun027', normal, compile_and_run, [''])
Austin Seipp's avatar
Austin Seipp committed
46
test('tcrun028', normal, compile_and_run, [''])
47
test('tcrun029', normal, compile_and_run, [''])
48
test('tcrun030', normal, compile_and_run, [''])
49
50
51
52
test('tcrun031', normal, compile_and_run, [''])
test('tcrun032', normal, compile_and_run, [''])
test('tcrun033', normal, compile_and_run, [''])
test('tcrun034', normal, compile_and_run, [''])
eir@cis.upenn.edu's avatar
eir@cis.upenn.edu committed
53
test('tcrun035', normal, compile_and_run, [''])
54
55
test('tcrun036', normal, compile_and_run, [''])
test('tcrun037', normal, compile_and_run, [''])
56

Ian Lynagh's avatar
Ian Lynagh committed
57
58
59
60
test('tcrun038',
     extra_clean(['TcRun038_B.hi', 'TcRun038_B.o']),
     multimod_compile_and_run,
     ['tcrun038',''])
61

62
test('tcrun039', normal, compile_and_run, [''])
63
test('tcrun040', normal, compile_and_run, [''])
64
65
test('tcrun041', omit_ways(['ghci']), compile_and_run, [''])
test('tcrun042', normal, compile_and_run, [''])
66
67
test('tcrun043', normal, compile_and_run, [''])
test('tcrun044', normal, compile_and_run, [''])
68
test('tcrun045', normal, compile_fail, [''])
69
test('tcrun046', normal, compile_and_run, [''])
70
71
72
73
74
test('tcrun047', omit_ways(['ghci']), compile_and_run, [''])
test('tcrun048', omit_ways(['ghci']), compile_and_run, [''])
test('tcrun049', omit_ways(['ghci']), compile_and_run, [''])
test('tcrun050', omit_ways(['ghci']), compile_and_run, [''])
test('tcrun051', omit_ways(['ghci']), compile_and_run, [''])
75

76
test('church', normal, compile_and_run, [''])
77
test('testeq2', normal, compile_and_run, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
78
test('T1624', normal, compile_and_run, [''])
79
test('IPRun', normal, compile_and_run, [''])
80
test('IPLocation', normal, compile_and_run, [''])
81
82
test('T10845', normal, compile_and_run, [''])
test('T10846', normal, compile_and_run, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
83
84
85

# Support files for T1735 are in directory T1735_Help/
test('T1735', normal, multimod_compile_and_run, ['T1735',''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
86

Ian Lynagh's avatar
Ian Lynagh committed
87
test('T3731', normal, compile_and_run, [''])
88
test('T3731-short', normal, compile_and_run, [''])
89
90
test('T3500a', normal, compile_and_run, [''])
test('T3500b', normal, compile_and_run, [''])
91
test('T4809', reqlib('mtl'), compile_and_run, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
92
test('T2722', normal, compile_and_run, [''])
93
test('mc17', normal, compile_and_run, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
94
test('T5759', normal, compile_and_run, [''])
95
96
test('T5573a', omit_ways(['ghci']), compile_and_run, [''])
test('T5573b', omit_ways(['ghci']), compile_and_run, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
97
test('T7023', normal, compile_and_run, [''])
pcapriotti's avatar
pcapriotti committed
98
test('T7126', normal, compile_and_run, [''])
99
test('T6117', normal, compile_and_run, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
100
test('T5751', normal, compile_and_run, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
101
test('T5913', normal, compile_and_run, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
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, [''])
Krzysztof Gogolewski's avatar
Krzysztof Gogolewski committed
105
test('T8119', normal, ghci_script, ['T8119.script'])
Krzysztof Gogolewski's avatar
Krzysztof Gogolewski committed
106
test('T8492', normal, compile_and_run, [''])
107
test('T8739', normal, compile_and_run, [''])
108
109
110
test('T9497a-run', [exit_code(1)], compile_and_run, ['-fdefer-typed-holes'])
test('T9497b-run', [exit_code(1)], compile_and_run, ['-fdefer-typed-holes -fno-warn-typed-holes'])
test('T9497c-run', [exit_code(1)], compile_and_run, ['-fdefer-type-errors -fno-warn-typed-holes'])
Iavor S. Diatchki's avatar
Iavor S. Diatchki committed
111
test('T9858c', normal, compile_and_run, [''])
112
test('T9858d', normal, compile_and_run, [''])
113
test('T10284', exit_code(1), compile_and_run, [''])
Eric Seidel's avatar
Eric Seidel committed
114
test('T11049', exit_code(1), compile_and_run, [''])
eir@cis.upenn.edu's avatar
eir@cis.upenn.edu committed
115
test('T11230', normal, compile_and_run, [''])
Ben Gamari's avatar
Ben Gamari committed
116
test('TypeOf', normal, compile_and_run, [''])