1 # Args to vtc are: extra compile flags
3 test('rn003', normal, compile, [''])
4 test('rn005', normal, compile, [''])
5 test('rn006', normal, compile, [''])
7 [only_compiler_types(['ghc']),
8 extra_clean(['Imp10Aux.hi', 'Imp10Aux.o',
9 'Imp10Aux.hi-boot', 'Imp10Aux.o-boot'])],
12 # rn10 tests the same things as 009,011,012
13 #test('rn010', only_compiler_types(['ghc']), multimod_compile, ['rn010', '-v0'])
15 [only_compiler_types(['ghc']),
16 extra_clean(['Imp100Aux.hi', 'Imp100Aux.o',
17 'Imp100Aux.hi-boot', 'Imp100Aux.o-boot'])],
21 [only_compiler_types(['ghc']),
22 extra_clean(['Imp500Aux.hi', 'Imp500Aux.o',
23 'Imp500Aux.hi-boot', 'Imp500Aux.o-boot'])],
26 test('rn013', normal, compile, [''])
28 [only_compiler_types(['ghc']),
29 extra_clean(['RnAux017.hi', 'RnAux017.o',
30 'RnAux017.hi-boot', 'RnAux017.o-boot'])],
33 test('rn019', normal, compile, [''])
34 test('rn020', normal, compile, [''])
35 test('rn022', normal, compile, [''])
36 test('rn023', normal, compile, [''])
37 test('rn024', normal, compile, [''])
38 test('rn025', normal, compile, [''])
39 test('rn026', normal, compile, [''])
40 test('rn027', normal, compile, [''])
41 test('rn028', normal, compile, [''])
42 test('rn029', normal, compile, [''])
43 test('rn031', normal, compile, [''])
44 test('rn032', normal, compile, [''])
45 test('rn033', normal, compile, [''])
46 test('rn034', normal, compile, [''])
47 test('rn035', normal, compile, [''])
48 test('rn036', normal, compile, [''])
49 test('rn037', normal, compile, [''])
52 # test('rn038', normal, compile, [''])
54 test('rn039', normal, compile, [''])
55 test('rn040', normal, compile, ['-fwarn-unused-binds -fwarn-unused-matches'])
56 test('rn041', normal, compile, [''])
58 extra_clean(['Rn042_A.hi', 'Rn042_A.o']),
62 extra_clean(['Rn043_A.hi', 'Rn043_A.o', 'Rn043_B.hi', 'Rn043_B.o']),
63 multimod_compile, ['rn043', '-v0'])
65 extra_clean(['Rn044_A.hi', 'Rn044_A.o', 'Rn044_B.hi', 'Rn044_B.o']),
66 multimod_compile, ['rn044', '-v0'])
67 test('rn045', normal, compile, [''])
68 test('rn046', normal, compile, ['-W'])
69 test('rn047', normal, compile, ['-W'])
70 test('rn048', normal, compile, ['-W'])
71 test('rn049', normal, compile, ['-W'])
74 extra_clean(['Rn050_A.hi', 'Rn050_A.o']),
75 multimod_compile, ['rn050', '-v0'])
77 test('rn051', normal, compile, [''])
80 extra_clean(['Rn052Aux.hi', 'Rn052Aux.o']),
81 multimod_compile, ['rn052', '-v0'])
84 extra_clean(['Rn053_A.hi', 'Rn053_A.o', 'Rn053_B.hi', 'Rn053_B.o']),
85 multimod_compile, ['rn053', '-v0'])
87 test('rn054', normal, compile, [''])
88 test('rn055', normal, compile, [''])
89 test('rn056', normal, compile, [''])
90 test('rn057', normal, compile, [''])
91 test('rn058', normal, compile, [''])
93 extra_clean(['Rn059_A.hi', 'Rn059_A.o', 'Rn059_B.hi', 'Rn059_B.o']),
94 multimod_compile, ['rn059', '-v0'])
95 test('rn060', normal, compile, [''])
96 test('rn061', normal, compile, [''])
97 test('rn062', normal, compile, [''])
98 test('rn063', normal, compile, [''])
99 test('rn064', normal, compile, [''])
101 extra_clean(['Rn065A.hi', 'Rn065A.o']),
106 extra_clean(['Rn066_A.hi', 'Rn066_A.o']),
107 multimod_compile, ['rn066', '-v0'])
110 extra_clean(['Rn067_A.hi', 'Rn067_A.o']),
111 multimod_compile, ['rn067', '-v0'])
113 test('rn068', normal, compile, [''])
115 test('T1972', normal, compile, [''])
116 test('T2205', normal, compile, [''])
118 test('T2334', normal, compile, [''])
119 test('T2506', normal, compile, [''])
120 test('T2914', normal, compile, [''])
121 test('T3221', normal, compile, [''])
122 test('T3262', normal, compile, [''])
123 test('T3371', normal, compile, [''])
124 test('T1074b', normal, compile, ['-Wall'])
125 test('T3640', normal, compile, [''])
126 test('T3901', normal, compile, [''])
127 test('T1954', normal, compile, [''])
128 test('T3943', normal, compile, [''])
130 test('timing001', normal, compile, [''])
131 test('timing002', normal, compile, [''])
132 test('timing003', normal, compile, [''])
134 test('T1792_imports', extra_clean(['T1792_imports.imports']), run_command,
135 ['$MAKE -s --no-print-directory T1792_imports'])
138 extra_clean(['T3823A.hi-boot', 'T3823A.hi', 'T3823B.hi',
139 'T3823A.o-boot', 'T3823A.o', 'T3823B.o']),
141 ['$MAKE -s --no-print-directory T3823'])
144 extra_clean(['T4003A.hi-boot', 'T4003A.hi', 'T4003B.hi',
145 'T4003A.o-boot', 'T4003A.o', 'T4003B.o']),
147 ['$MAKE -s --no-print-directory T4003'])
148 test('T1789', normal, compile, [''])
149 test('T1789_2', normal, compile, [''])
151 extra_clean(['T3449.hi-boot', 'T3449A.hi',
152 'T3449.o-boot', 'T3449A.o']),
154 ['$MAKE -s --no-print-directory T3449'])
156 extra_clean(['T4239A.hi', 'T4239A.o', 'T4239.imports']),
158 ['$MAKE -s --no-print-directory T4239'])
160 [extra_clean(['T4240A.hi', 'T4240A.o', 'T4240B.hi', 'T4240B.o',
163 ['$MAKE -s --no-print-directory T4240'])
165 test('T4489', normal, compile, [''])
166 test('T4478', when(compiler_lt('ghc', '7.1'), expect_fail), compile, [''])
167 test('T4534', normal, compile, [''])
169 test('mc09', normal, compile, [''])
170 test('mc10', normal, compile, [''])
171 test('mc11', normal, compile, [''])
172 test('mc12', normal, compile, [''])
174 [ only_compiler_types(['ghc']),
175 extra_clean(['T2436a.hi', 'T2436a.o']) ],
178 test('T5331', normal, compile, ['']) # Unused tyvar warnings
179 test('T5334', normal, compile, ['']) # Unused tyvar warnings
181 [only_compiler_types(['ghc']),
182 extra_clean(['T5306a.hi', 'T5306a.o',
183 'T5306b.hi', 'T5306b.o'])],
187 [only_compiler_types(['ghc']),
188 extra_clean(['T5592a.hi', 'T5592a.o'])],
189 multimod_compile_and_run,
192 extra_clean(['T5867a.hi', 'T5867a.o']),
193 multimod_compile, ['T5867', '-v0'])
194 test('T6027', normal, compile, [''])
195 test('T6120', normal, compile, [''])
196 test('T7007', normal, compile, [''])
197 test('T7085', normal, compile, [''])
198 test('T7145a', normal, compile, ['-Wall -Werror'])
199 test('T7145b', normal, compile, ['-Wall'])
200 test('T6038', normal, compile, [''])
202 [ extra_clean(['DodgyA.hi', 'DodgyA.o']) ],
205 test('T7167', normal, compile, [''])
206 test('T7336', expect_broken(7336), compile, ['-Wall'])
208 test('T2435', normal, multimod_compile, ['T2435','-v0'])
210 [extra_clean(['T7963a.hi', 'T7963a.o',
213 ['$MAKE -s --no-print-directory T7963'])
215 [extra_clean(['T7969a.hi', 'T7969a.o',
218 ['$MAKE -s --no-print-directory T7969'])
219 test('T9127', normal, compile, [''])