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

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', normal, 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', normal, 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', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
22 23
test('cgrun019', normal, compile_and_run, [''])
test('cgrun020', normal, compile_and_run, [''])
Simon Marlow's avatar
Simon Marlow committed
24 25 26 27

# cgrun021 does some GC, so let's use it to test GC parameters
test('cgrun021', extra_ways(['nursery_chunks']), compile_and_run, [''])

Ian Lynagh's avatar
Ian Lynagh committed
28 29
test('cgrun022', normal, compile_and_run, [''])
test('cgrun024', normal, compile_and_run, [''])
30
test('cgrun025',
thomie's avatar
thomie committed
31
     [reqlib('regex-compat'), extra_run_opts('cgrun025.hs'), exit_code(1)],
32
     compile_and_run, ['-package regex-compat'])
33
test('cgrun026', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
34 35
test('cgrun027', normal, compile_and_run, [''])
test('cgrun028', normal, compile_and_run, [''])
36 37 38
test('cgrun031', normal, compile_and_run, [''])
test('cgrun032', normal, compile_and_run, [''])
test('cgrun033', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
39
test('cgrun034', normal, compile_and_run, [''])
40
test('cgrun035', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
41 42 43 44 45 46 47 48 49 50 51 52 53
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, [''])
54
test('cgrun051', [exit_code(1)], compile_and_run, [''])
55
test('cgrun052', only_ways(['optasm']), compile_and_run, ['-funbox-strict-fields'])
Ian Lynagh's avatar
Ian Lynagh committed
56 57 58 59
test('cgrun053', normal, compile_and_run, [''])
test('cgrun054', normal, compile_and_run, [''])
test('cgrun055', normal, compile_and_run, [''])
test('cgrun056', normal, compile_and_run, [''])
60 61
test('cgrun057', [ only_ways(prof_ways),
                   extra_run_opts('+RTS -xc') ], compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
62 63 64
test('cgrun058', normal, compile_and_run, [''])
test('cgrun059', exit_code(1), compile_and_run, [''])
test('cgrun060',
65
     extra_run_opts('+RTS -K64k -RTS'),
66
     compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
67 68 69
test('cgrun061', normal, compile_and_run, [''])
test('cgrun062', normal, compile_and_run, [''])
test('cgrun063', normal, compile_and_run, [''])
tibbe's avatar
tibbe committed
70
test('cgrun064', normal, compile_and_run, [''])
71
test('cgrun065', normal, compile_and_run, [''])
72
test('cgrun066', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
73 74
test('cgrun067', extra_clean(['Cgrun067A.hi', 'Cgrun067A.o']),
     compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
75
test('cgrun068', reqlib('random'), compile_and_run, [''])
76 77
test('cgrun069', omit_ways(['ghci']), multi_compile_and_run,
                 ['cgrun069', [('cgrun069_cmm.cmm', '')], ''])
tibbe's avatar
tibbe committed
78
test('cgrun070', normal, compile_and_run, [''])
79
test('cgrun071', normal, compile_and_run, [''])
thoughtpolice's avatar
thoughtpolice committed
80
test('cgrun072', normal, compile_and_run, [''])
Simon Marlow's avatar
Simon Marlow committed
81

82 83 84 85 86 87 88 89 90 91 92 93
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, [''])
94
test('T5747', when(arch('i386'), extra_hc_opts('-msse2')), compile_and_run, ['-O2'])
95
test('T5785', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
96
test('setByteArray', normal, compile_and_run, [''])
dterei's avatar
dterei committed
97

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

102 103 104
# T7319 now gives the same results in every 'way', so treat it as normal
test('T7319', exit_code(1), compile_and_run, [''])

Simon Marlow's avatar
Simon Marlow committed
105
# Gives different results when optimised, so restrict to just one way
106 107 108 109 110
#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, [''])

111 112
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
113 114

test('T7361', normal, compile_and_run, [''])
dterei's avatar
dterei committed
115
test('T7600', normal, compile_and_run, [''])
Jan Stolarek's avatar
Jan Stolarek committed
116
test('T8103', only_ways(['normal']), compile_and_run, [''])
117
test('T7953', reqlib('random'), compile_and_run, [''])
118
test('T8256', normal, compile_and_run, ['-dcore-lint -O1'])
Simon Marlow's avatar
Simon Marlow committed
119
test('T6084',normal, compile_and_run, ['-O2'])
120
test('CgStaticPointers', [when(doing_ghci(), extra_hc_opts('-fobject-code'))],
Facundo Domínguez's avatar
Facundo Domínguez committed
121
     compile_and_run, [''])
122 123
test('StaticArraySize', [when(doing_ghci(), extra_hc_opts('-fobject-code'))],
     compile_and_run, ['-O2'])
124
test('StaticByteArraySize', normal, compile_and_run, ['-O2'])
125
test('CopySmallArray', normal, compile_and_run, [''])
126
test('CopySmallArrayStressTest', reqlib('random'), compile_and_run, [''])
127
test('SizeOfSmallArray', normal, compile_and_run, [''])
128
test('T9001', normal, compile_and_run, [''])
129
test('T9013', omit_ways(['ghci']),  # ghci doesn't support unboxed tuples
rwbarton's avatar
rwbarton committed
130
     compile_and_run, [''])
131
test('T9340', normal, compile_and_run, [''])
Simon Marlow's avatar
Simon Marlow committed
132
test('cgrun074', normal, compile_and_run, [''])
133 134
test('CmmSwitchTest32', unless(wordsize(32), skip), compile_and_run, [''])
test('CmmSwitchTest64', unless(wordsize(64), skip), compile_and_run, [''])
135 136
# Skipping WAY=ghci, because it is not broken.
test('T10245', [omit_ways(['ghci']), expect_broken(10246)], compile_and_run, [''])
Joachim Breitner's avatar
Joachim Breitner committed
137
test('T10246', expect_broken(10246), compile_and_run, [''])
138
test('T10414', [only_ways(['threaded2']), extra_ways(['threaded2']), req_smp],
139
     compile_and_run, ['-feager-blackholing'])
140 141
test('T10521', normal, compile_and_run, [''])
test('T10521b', normal, compile_and_run, [''])
142
test('T10870', when(wordsize(32), skip), compile_and_run, [''])
143
test('PopCnt', omit_ways(['ghci']), multi_compile_and_run,
144
                 ['PopCnt', [('PopCnt_cmm.cmm', '')], ''])
145
test('T12059', normal, compile_and_run, [''])
Ben Gamari's avatar
Ben Gamari committed
146
test('T12433', expect_broken(12433), compile_and_run, [''])