all.T 7.15 KB
Newer Older
1
# Args to vtc are: extra compile flags
2

3 4 5
test('rn003', normal, compile, [''])
test('rn005', normal, compile, [''])
test('rn006', normal, compile, [''])
Ian Lynagh's avatar
Ian Lynagh committed
6 7
test('rn009',
     [only_compiler_types(['ghc']),
Ian Lynagh's avatar
Ian Lynagh committed
8 9
      extra_clean(['Imp10Aux.hi',      'Imp10Aux.o',
                   'Imp10Aux.hi-boot', 'Imp10Aux.o-boot'])],
Ian Lynagh's avatar
Ian Lynagh committed
10 11
     multimod_compile,
     ['rn009', '-v0'])
12 13
# rn10 tests the same things as 009,011,012
#test('rn010', only_compiler_types(['ghc']), multimod_compile, ['rn010', '-v0'])
Ian Lynagh's avatar
Ian Lynagh committed
14 15
test('rn011',
     [only_compiler_types(['ghc']),
Ian Lynagh's avatar
Ian Lynagh committed
16 17
      extra_clean(['Imp100Aux.hi',      'Imp100Aux.o',
                   'Imp100Aux.hi-boot', 'Imp100Aux.o-boot'])],
Ian Lynagh's avatar
Ian Lynagh committed
18 19 20 21
     multimod_compile,
     ['rn011', '-v0'])
test('rn012',
     [only_compiler_types(['ghc']),
Ian Lynagh's avatar
Ian Lynagh committed
22 23
      extra_clean(['Imp500Aux.hi',      'Imp500Aux.o',
                   'Imp500Aux.hi-boot', 'Imp500Aux.o-boot'])],
Ian Lynagh's avatar
Ian Lynagh committed
24 25
     multimod_compile,
     ['rn012', '-v0'])
26
test('rn013', normal, compile, [''])
Ian Lynagh's avatar
Ian Lynagh committed
27 28
test('rn017',
     [only_compiler_types(['ghc']),
Ian Lynagh's avatar
Ian Lynagh committed
29 30
      extra_clean(['RnAux017.hi',      'RnAux017.o',
                   'RnAux017.hi-boot', 'RnAux017.o-boot'])],
Ian Lynagh's avatar
Ian Lynagh committed
31 32
     multimod_compile,
     ['rn017', '-v0'])
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
test('rn019', normal, compile, [''])
test('rn020', normal, compile, [''])
test('rn022', normal, compile, [''])
test('rn023', normal, compile, [''])
test('rn024', normal, compile, [''])
test('rn025', normal, compile, [''])
test('rn026', normal, compile, [''])
test('rn027', normal, compile, [''])
test('rn028', normal, compile, [''])
test('rn029', normal, compile, [''])
test('rn031', normal, compile, [''])
test('rn032', normal, compile, [''])
test('rn033', normal, compile, [''])
test('rn034', normal, compile, [''])
test('rn035', normal, compile, [''])
test('rn036', normal, compile, [''])
49
test('rn037', normal, compile, [''])
50
	
51 52
# Missing:
# test('rn038', normal, compile, [''])
53

54
test('rn039', normal, compile, [''])
55
test('rn040', normal, compile, ['-fwarn-unused-binds -fwarn-unused-matches'])
56
test('rn041', normal, compile, [''])
Ian Lynagh's avatar
Ian Lynagh committed
57 58 59 60 61 62 63 64
test('rn042',
     extra_clean(['Rn042_A.hi', 'Rn042_A.o']),
     multimod_compile,
     ['rn042', '-v0'])
test('rn043',
     extra_clean(['Rn043_A.hi', 'Rn043_A.o', 'Rn043_B.hi', 'Rn043_B.o']),
     multimod_compile, ['rn043', '-v0'])
test('rn044',
65
     extra_clean(['Rn044_A.hi', 'Rn044_A.o', 'Rn044_B.hi', 'Rn044_B.o']),
Ian Lynagh's avatar
Ian Lynagh committed
66
     multimod_compile, ['rn044', '-v0'])
67
test('rn045', normal, compile, [''])
68 69 70 71
test('rn046', normal, compile, ['-W'])
test('rn047', normal, compile, ['-W'])
test('rn048', normal, compile, ['-W'])
test('rn049', normal, compile, ['-W'])
72

Ian Lynagh's avatar
Ian Lynagh committed
73 74 75
test('rn050',
     extra_clean(['Rn050_A.hi', 'Rn050_A.o']),
     multimod_compile, ['rn050', '-v0'])
76

Simon Peyton Jones's avatar
Simon Peyton Jones committed
77 78
test('rn051', normal, compile, [''])

Ian Lynagh's avatar
Ian Lynagh committed
79 80 81
test('rn052',
     extra_clean(['Rn052Aux.hi', 'Rn052Aux.o']),
     multimod_compile, ['rn052', '-v0'])
82

Ian Lynagh's avatar
Ian Lynagh committed
83 84 85
test('rn053',
     extra_clean(['Rn053_A.hi', 'Rn053_A.o', 'Rn053_B.hi', 'Rn053_B.o']),
     multimod_compile, ['rn053', '-v0'])
86

87
test('rn054', normal, compile, [''])
88 89 90
test('rn055', normal, compile, [''])
test('rn056', normal, compile, [''])
test('rn057', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
91
test('rn058', normal, compile, [''])
Ian Lynagh's avatar
Ian Lynagh committed
92 93 94
test('rn059',
     extra_clean(['Rn059_A.hi', 'Rn059_A.o', 'Rn059_B.hi', 'Rn059_B.o']),
     multimod_compile, ['rn059', '-v0'])
95 96
test('rn060', normal, compile, [''])
test('rn061', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
97
test('rn062', normal, compile, [''])
98
test('rn063', normal, compile, [''])
99
test('rn064', normal, compile, [''])
Ian Lynagh's avatar
Ian Lynagh committed
100
test('rn065',
101
     extra_clean(['Rn065A.hi', 'Rn065A.o']),
Ian Lynagh's avatar
Ian Lynagh committed
102 103
     multimod_compile,
     ['rn065', '-v0'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
104

Ian Lynagh's avatar
Ian Lynagh committed
105 106 107 108
test('rn066',
     extra_clean(['Rn066_A.hi', 'Rn066_A.o']),
     multimod_compile, ['rn066', '-v0'])

Ian Lynagh's avatar
Ian Lynagh committed
109 110 111 112
test('rn067',
     extra_clean(['Rn067_A.hi', 'Rn067_A.o']),
     multimod_compile, ['rn067', '-v0'])

113
test('T1972', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
114
test('T2205', normal, compile, [''])
115

116
test('T2334', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
117
test('T2506', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
118
test('T2914', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
119
test('T3221', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
120
test('T3262', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
121
test('T3371', normal, compile, [''])
122
test('T1074b', normal, compile, ['-Wall'])
123
test('T3640', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
124
test('T3901', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
125
test('T1954', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
126
test('T3943', normal, compile, [''])
Simon Marlow's avatar
Simon Marlow committed
127

128 129 130
test('timing001', normal, compile, [''])
test('timing002', normal, compile, [''])
test('timing003', normal, compile, [''])
Ian Lynagh's avatar
Ian Lynagh committed
131 132 133 134

test('T1792_imports', extra_clean(['T1792_imports.imports']), run_command,
     ['$MAKE -s --no-print-directory T1792_imports'])

Ian Lynagh's avatar
Ian Lynagh committed
135 136 137 138 139 140
test('T3823',
     extra_clean(['T3823A.hi-boot', 'T3823A.hi', 'T3823B.hi',
                  'T3823A.o-boot', 'T3823A.o', 'T3823B.o']),
     run_command,
     ['$MAKE -s --no-print-directory T3823'])

Ian Lynagh's avatar
Ian Lynagh committed
141 142 143 144 145
test('T4003',
     extra_clean(['T4003A.hi-boot', 'T4003A.hi', 'T4003B.hi',
                  'T4003A.o-boot', 'T4003A.o', 'T4003B.o']),
     run_command,
     ['$MAKE -s --no-print-directory T4003'])
Ian Lynagh's avatar
Ian Lynagh committed
146 147
test('T1789', normal, compile, [''])
test('T1789_2', normal, compile, [''])
Ian Lynagh's avatar
Ian Lynagh committed
148
test('T3449',
149 150
     extra_clean(['T3449.hi-boot', 'T3449A.hi',
                  'T3449.o-boot',  'T3449A.o']),
Ian Lynagh's avatar
Ian Lynagh committed
151 152
     run_command,
     ['$MAKE -s --no-print-directory T3449'])
Ian Lynagh's avatar
Ian Lynagh committed
153
test('T4239',
Ian Lynagh's avatar
Ian Lynagh committed
154
     extra_clean(['T4239A.hi', 'T4239A.o', 'T4239.imports']),
Ian Lynagh's avatar
Ian Lynagh committed
155 156
     run_command,
     ['$MAKE -s --no-print-directory T4239'])
Ian Lynagh's avatar
Ian Lynagh committed
157
test('T4240',
158
     [extra_clean(['T4240A.hi', 'T4240A.o', 'T4240B.hi', 'T4240B.o',
Ian Lynagh's avatar
Ian Lynagh committed
159 160 161
                   'T4240.imports'])],
     run_command,
     ['$MAKE -s --no-print-directory T4240'])
Ian Lynagh's avatar
Ian Lynagh committed
162

Simon Peyton Jones's avatar
Simon Peyton Jones committed
163
test('T4489', normal, compile, [''])
164
test('T4478', when(compiler_lt('ghc', '7.1'), expect_fail), compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
165 166
test('T4534', normal, compile, [''])

167 168
test('mc09', normal, compile, [''])
test('mc10', normal, compile, [''])
169
test('mc11', normal, compile, [''])
170
test('mc12', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
171 172 173 174 175
test('T2436',
     [ only_compiler_types(['ghc']),
       extra_clean(['T2436a.hi', 'T2436a.o']) ],
     multimod_compile,
     ['T2436', '-v0'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
176 177
test('T5331', normal, compile, [''])   # Unused tyvar warnings
test('T5334', normal, compile, [''])   # Unused tyvar warnings
Simon Peyton Jones's avatar
Simon Peyton Jones committed
178 179 180 181 182 183
test('T5306',
     [only_compiler_types(['ghc']),
      extra_clean(['T5306a.hi', 'T5306a.o',
                   'T5306b.hi', 'T5306b.o'])],
     multimod_compile,
     ['T5306', '-v0'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
184 185 186 187 188
test('T5592',
     [only_compiler_types(['ghc']),
      extra_clean(['T5592a.hi',      'T5592a.o'])],
     multimod_compile_and_run,
     ['T5592', '-v0'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
189 190 191
test('T5867',
     extra_clean(['T5867a.hi', 'T5867a.o']),
     multimod_compile, ['T5867', '-v0'])
pcapriotti's avatar
pcapriotti committed
192
test('T6027', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
193
test('T6120', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
194
test('T7007', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
195
test('T7085', normal, compile, [''])
pcapriotti's avatar
pcapriotti committed
196 197
test('T7145a', normal, compile, ['-Wall -Werror'])
test('T7145b', normal, compile, ['-Wall'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
198
test('T6038', normal, compile, [''])
199 200 201 202
test('dodgy',
     [ extra_clean(['DodgyA.hi', 'DodgyA.o']) ],
     multimod_compile,
     ['dodgy', '-v0'])
pcapriotti's avatar
pcapriotti committed
203
test('T7167', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
204
test('T7336', normal, compile, ['-Wall'])
Simon Marlow's avatar
Simon Marlow committed
205 206

test('T2435', normal, multimod_compile, ['T2435','-v0'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
207 208 209 210 211
test('T7963',
     [extra_clean(['T7963a.hi', 'T7963a.o',
                   'T7963.imports'])],
     run_command,
     ['$MAKE -s --no-print-directory T7963'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
212 213 214 215 216
test('T7969',
     [extra_clean(['T7969a.hi', 'T7969a.o',
                   'T7969.imports'])],
     run_command,
     ['$MAKE -s --no-print-directory T7969'])