all.T 5.3 KB
Newer Older
1
2
3
# Test +RTS -G1 here (it isn't tested anywhere else)
setTestOpts(extra_ways(['g1']))

Ian Lynagh's avatar
Ian Lynagh committed
4
5
6
7
8
9
10
11
12
13
14
test('cgrun001', normal, compile_and_run, [''])
test('cgrun002', normal, compile_and_run, [''])
test('cgrun003', normal, compile_and_run, [''])
test('cgrun004', normal, compile_and_run, [''])
test('cgrun005', normal, compile_and_run, [''])
test('cgrun006', normal, compile_and_run, [''])
test('cgrun007', normal, compile_and_run, [''])
test('cgrun008', normal, compile_and_run, [''])
test('cgrun009', normal, compile_and_run, [''])
test('cgrun010', normal, compile_and_run, [''])
test('cgrun011', normal, compile_and_run, [''])
15
test('cgrun012', only_compiler_types(['ghc']), compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
16
17
test('cgrun013', normal, compile_and_run, [''])
test('cgrun014', normal, compile_and_run, [''])
18
test('cgrun015', only_compiler_types(['ghc']), compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
19
20
test('cgrun016', exit_code(1), compile_and_run, [''])
test('cgrun017', normal, compile_and_run, [''])
21
test('cgrun018', only_compiler_types(['ghc']), compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
22
23
24
25
26
27
test('cgrun019', normal, compile_and_run, [''])
test('cgrun020', normal, compile_and_run, [''])
test('cgrun021', normal, compile_and_run, [''])
test('cgrun022', normal, compile_and_run, [''])
test('cgrun024', normal, compile_and_run, [''])
test('cgrun025', compose(reqlib('regex-compat'), compose(extra_run_opts('cg025.hs'),exit_code(1))),
28
                      compile_and_run, ['-package regex-compat'])
Ian Lynagh's avatar
Ian Lynagh committed
29
30
31
test('cgrun026', only_compiler_types(['ghc']), compile_and_run, [''])
test('cgrun027', normal, compile_and_run, [''])
test('cgrun028', normal, compile_and_run, [''])
32
33
34
test('cgrun031', only_compiler_types(['ghc']), compile_and_run, [''])
test('cgrun032', only_compiler_types(['ghc']), compile_and_run, [''])
test('cgrun033', only_compiler_types(['ghc']), compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
35
test('cgrun034', normal, compile_and_run, [''])
36
test('cgrun035', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
37
38
39
40
41
42
43
44
45
46
47
48
49
test('cgrun036', normal, compile_and_run, [''])
test('cgrun037', normal, compile_and_run, [''])
test('cgrun038', normal, compile_and_run, [''])
test('cgrun039', normal, compile_and_run, [''])
test('cgrun040', normal, compile_and_run, [''])
test('cgrun043', normal, compile_and_run, [''])
test('cgrun044', normal, compile_and_run, [''])
test('cgrun045', exit_code(1), compile_and_run, [''])
test('cgrun046', normal, compile_and_run, [''])
test('cgrun047', normal, compile_and_run, [''])
test('cgrun048', normal, compile_and_run, [''])
test('cgrun049', normal, compile_and_run, ['-funbox-strict-fields'])
test('cgrun050', normal, compile_and_run, [''])
krc's avatar
krc committed
50
# Doesn't work with External Core due to datatype declaration with no constructors
Ian Lynagh's avatar
Ian Lynagh committed
51
test('cgrun051', (compose (expect_fail_for(['extcore','optextcore']),exit_code(1))), compile_and_run, [''])
52
test('cgrun052', only_ways(['optasm']), compile_and_run, ['-funbox-strict-fields'])
Ian Lynagh's avatar
Ian Lynagh committed
53
54
55
56
test('cgrun053', normal, compile_and_run, [''])
test('cgrun054', normal, compile_and_run, [''])
test('cgrun055', normal, compile_and_run, [''])
test('cgrun056', normal, compile_and_run, [''])
57
58
test('cgrun057', [ only_ways(prof_ways),
                   extra_run_opts('+RTS -xc') ], compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
59
60
61
test('cgrun058', normal, compile_and_run, [''])
test('cgrun059', exit_code(1), compile_and_run, [''])
test('cgrun060',
62
     extra_run_opts('+RTS -K64k -RTS'),
63
     compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
64
65
66
test('cgrun061', normal, compile_and_run, [''])
test('cgrun062', normal, compile_and_run, [''])
test('cgrun063', normal, compile_and_run, [''])
tibbe's avatar
tibbe committed
67
test('cgrun064', normal, compile_and_run, [''])
68
test('cgrun065', normal, compile_and_run, [''])
69
test('cgrun066', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
70
71
test('cgrun067', extra_clean(['Cgrun067A.hi', 'Cgrun067A.o']),
     compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
72
test('cgrun068', reqlib('random'), compile_and_run, [''])
73
74
test('cgrun069', omit_ways(['ghci']), multi_compile_and_run,
                 ['cgrun069', [('cgrun069_cmm.cmm', '')], ''])
tibbe's avatar
tibbe committed
75
test('cgrun070', normal, compile_and_run, [''])
tibbe's avatar
tibbe committed
76
test('cgrun071', normal, compile_and_run, [''])
Simon Marlow's avatar
Simon Marlow committed
77

78
79
80
81
82
83
84
85
86
87
88
89
test('T1852', normal, compile_and_run, [''])
test('T1861', extra_run_opts('0'), compile_and_run, [''])
test('T2080', normal, compile_and_run, [''])
test('T2838', normal, compile_and_run, [''])
test('T3207', normal, compile_and_run, [''])
test('T3561', normal, compile_and_run, [''])
test('T3677', extra_run_opts('+RTS -K8k -RTS'), compile_and_run, [''])
test('T4441', normal, compile_and_run, [''])
test('T5149', omit_ways(['ghci']), multi_compile_and_run,
                 ['T5149', [('T5149_cmm.cmm', '')], ''])
test('T5129', normal, compile_and_run, [''])
test('T5626', exit_code(1), compile_and_run, [''])
90
test('T5747', when(arch('i386'), extra_hc_opts('-msse2')), compile_and_run, ['-O2'])
91
test('T5785', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
92
test('setByteArray', normal, compile_and_run, [''])
dterei's avatar
dterei committed
93

94
test('T6146', normal, compile_and_run, [''])
pcapriotti's avatar
pcapriotti committed
95
test('T5900', normal, compile_and_run, [''])
ian@well-typed.com's avatar
ian@well-typed.com committed
96
test('T7163', normal, compile_and_run, [''])
Simon Marlow's avatar
Simon Marlow committed
97
98
99
100
101
102

# Gives different results when optimised, so restrict to just one way
test('T7319', [ extra_ways(['prof']), only_ways(['prof']), exit_code(1),
                req_profiling,
                extra_hc_opts('-fprof-auto'),
                extra_run_opts('+RTS -xc') ], compile_and_run, [''])
103
104
test('Word2Float32', unless(wordsize(32), skip), compile_and_run, [''])
test('Word2Float64', unless(wordsize(64), skip), compile_and_run, [''])
Simon Marlow's avatar
Simon Marlow committed
105
106

test('T7361', normal, compile_and_run, [''])
dterei's avatar
dterei committed
107
108
test('T7600', normal, compile_and_run, [''])