296390524a7dc8249c89aad4719b5224824de50a
[ghc.git] / testsuite / tests / rename / should_compile / all.T
1 # Args to vtc are: extra compile flags
2
3 test('rn003', normal, compile, [''])
4 test('rn005', normal, compile, [''])
5 test('rn006', normal, compile, [''])
6 test('rn009',
7      [
8       extra_clean(['Imp10Aux.hi',      'Imp10Aux.o',
9                    'Imp10Aux.hi-boot', 'Imp10Aux.o-boot'])],
10      multimod_compile,
11      ['rn009', '-v0'])
12 # rn10 tests the same things as 009,011,012
13 #test('rn010', normal, multimod_compile, ['rn010', '-v0'])
14 test('rn011',
15      [
16       extra_clean(['Imp100Aux.hi',      'Imp100Aux.o',
17                    'Imp100Aux.hi-boot', 'Imp100Aux.o-boot'])],
18      multimod_compile,
19      ['rn011', '-v0'])
20 test('rn012',
21      [
22       extra_clean(['Imp500Aux.hi',      'Imp500Aux.o',
23                    'Imp500Aux.hi-boot', 'Imp500Aux.o-boot'])],
24      multimod_compile,
25      ['rn012', '-v0'])
26 test('rn013', normal, compile, [''])
27 test('rn017',
28      [
29       extra_clean(['RnAux017.hi',      'RnAux017.o',
30                    'RnAux017.hi-boot', 'RnAux017.o-boot'])],
31      multimod_compile,
32      ['rn017', '-v0'])
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, [''])
50         
51 # Missing:
52 # test('rn038', normal, compile, [''])
53
54 test('rn039', normal, compile, [''])
55 test('rn040', normal, compile, ['-fwarn-unused-binds -fwarn-unused-matches'])
56 test('rn041', expect_broken_for(10181, ['optasm', 'optllvm']), compile, [''])
57 test('rn042',
58      extra_clean(['Rn042_A.hi', 'Rn042_A.o']),
59      multimod_compile,
60      ['rn042', '-v0'])
61 test('rn043',
62      extra_clean(['Rn043_A.hi', 'Rn043_A.o', 'Rn043_B.hi', 'Rn043_B.o']),
63      multimod_compile, ['rn043', '-v0'])
64 test('rn044',
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'])
72
73 test('rn050',
74      extra_clean(['Rn050_A.hi', 'Rn050_A.o']),
75      multimod_compile, ['rn050', '-v0'])
76
77 test('rn051', normal, compile, [''])
78
79 test('rn052',
80      extra_clean(['Rn052Aux.hi', 'Rn052Aux.o']),
81      multimod_compile, ['rn052', '-v0'])
82
83 test('rn053',
84      extra_clean(['Rn053_A.hi', 'Rn053_A.o', 'Rn053_B.hi', 'Rn053_B.o']),
85      multimod_compile, ['rn053', '-v0'])
86
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, [''])
92 test('rn059',
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, [''])
100 test('rn065',
101      extra_clean(['Rn065A.hi', 'Rn065A.o']),
102      multimod_compile,
103      ['rn065', '-v0'])
104
105 test('rn066',
106      extra_clean(['Rn066_A.hi', 'Rn066_A.o']),
107      multimod_compile, ['rn066', '-v0'])
108
109 test('rn067',
110      extra_clean(['Rn067_A.hi', 'Rn067_A.o']),
111      multimod_compile, ['rn067', '-v0'])
112
113 test('rn068', normal, compile, [''])
114
115 test('T17a', normal, compile, [''])
116 test('T17b', normal, compile, [''])
117 test('T17c', normal, compile, [''])
118 test('T17d', normal, compile, [''])
119 test('T17e', normal, compile, [''])
120
121 test('T1972', normal, compile, [''])
122 test('T2205', normal, compile, [''])
123
124 test('T2334', normal, compile, [''])
125 test('T2506', normal, compile, [''])
126 test('T2914', normal, compile, [''])
127 test('T3221', normal, compile, [''])
128 test('T3262', normal, compile, [''])
129 test('T3371', normal, compile, [''])
130 test('T1074b', normal, compile, ['-Wall'])
131 test('T3640', normal, compile, [''])
132 test('T3901', normal, compile, [''])
133 test('T1954', normal, compile, [''])
134 test('T3943', normal, compile, [''])
135
136 test('timing001', normal, compile, [''])
137 test('timing002', normal, compile, [''])
138 test('timing003', normal, compile, [''])
139
140 test('T1792_imports', extra_clean(['T1792_imports.imports']), run_command,
141      ['$MAKE -s --no-print-directory T1792_imports'])
142
143 test('T3823',
144      extra_clean(['T3823A.hi-boot', 'T3823A.hi', 'T3823B.hi',
145                   'T3823A.o-boot', 'T3823A.o', 'T3823B.o']),
146      run_command,
147      ['$MAKE -s --no-print-directory T3823'])
148
149 test('T4003',
150      extra_clean(['T4003A.hi-boot', 'T4003A.hi', 'T4003B.hi',
151                   'T4003A.o-boot', 'T4003A.o', 'T4003B.o']),
152      run_command,
153      ['$MAKE -s --no-print-directory T4003'])
154 test('T1789', normal, compile, [''])
155 test('T1789_2', normal, compile, [''])
156 test('T3449',
157      extra_clean(['T3449.hi-boot', 'T3449A.hi',
158                   'T3449.o-boot',  'T3449A.o']),
159      run_command,
160      ['$MAKE -s --no-print-directory T3449'])
161 test('T4239',
162      extra_clean(['T4239A.hi', 'T4239A.o', 'T4239.imports']),
163      run_command,
164      ['$MAKE -s --no-print-directory T4239'])
165 test('T4240',
166      [extra_clean(['T4240A.hi', 'T4240A.o', 'T4240B.hi', 'T4240B.o',
167                    'T4240.imports'])],
168      run_command,
169      ['$MAKE -s --no-print-directory T4240'])
170
171 test('T4489', normal, compile, [''])
172 test('T4478', normal, compile, [''])
173 test('T4534', normal, compile, [''])
174
175 test('mc09', normal, compile, [''])
176 test('mc10', normal, compile, [''])
177 test('mc11', normal, compile, [''])
178 test('mc12', normal, compile, [''])
179 test('T2436',
180      [
181        extra_clean(['T2436a.hi', 'T2436a.o']) ],
182      multimod_compile,
183      ['T2436', '-v0'])
184 test('T5331', normal, compile, [''])   # Unused tyvar warnings
185 test('T5334', normal, compile, [''])   # Unused tyvar warnings
186 test('T5306',
187      [
188       extra_clean(['T5306a.hi', 'T5306a.o',
189                    'T5306b.hi', 'T5306b.o'])],
190      multimod_compile,
191      ['T5306', '-v0'])
192 test('T5592',
193      [
194       extra_clean(['T5592a.hi',      'T5592a.o'])],
195      multimod_compile_and_run,
196      ['T5592', '-v0'])
197 test('T5867',
198      extra_clean(['T5867a.hi', 'T5867a.o']),
199      multimod_compile, ['T5867', '-v0'])
200 test('T6027', normal, compile, [''])
201 test('T6120', normal, compile, [''])
202 test('T7007', normal, compile, [''])
203 test('T7085', normal, compile, [''])
204 test('T7145a', normal, compile, ['-Wall -Werror'])
205 test('T7145b', normal, compile, ['-Wall'])
206 test('T6038', normal, compile, [''])
207 test('dodgy',
208      [ extra_clean(['DodgyA.hi', 'DodgyA.o']) ],
209      multimod_compile,
210      ['dodgy', '-v0'])
211 test('T7167', normal, compile, [''])
212 test('T7336', expect_broken(7336), compile, ['-Wall'])
213
214 test('T2435', normal, multimod_compile, ['T2435','-v0'])
215 test('T7672', normal, multimod_compile, ['T7672','-v0'])
216 test('T7963',
217      [extra_clean(['T7963a.hi', 'T7963a.o',
218                    'T7963.imports'])],
219      run_command,
220      ['$MAKE -s --no-print-directory T7963'])
221 test('T7969',
222      [extra_clean(['T7969a.hi', 'T7969a.o',
223                    'T7969.imports'])],
224      run_command,
225      ['$MAKE -s --no-print-directory T7969'])
226 test('T9127', normal, compile, [''])
227 test('T4426', normal, compile_fail, [''])
228 test('T9778', normal, compile, ['-fwarn-unticked-promoted-constructors'])
229 test('T11164',
230      extra_clean(['T11164a.hi', 'T11164a.o',
231                   'T11164b.hi', 'T11164b.o']),
232      multimod_compile, ['T11164', '-v0'])
233 test('T11167', normal, compile, [''])
234 test('T11167_ambig', normal, compile, [''])
235 test('T10625', normal, compile, [''])
236 test('T11624', extra_clean(['T11624a.hi', 'T11624a.o', 'T11624.hi-boot', 'T11624.o-boot']), multimod_compile, ['T11624', ''])
237 test('T11662',
238      [extra_clean(['T11662_A.hi', 'T11662_A.o'])],
239      multimod_compile,
240      ['T11662', '-v0'])
241 test('T12127',
242      [extra_clean(['T12127a.hi', 'T12127a.o'])],
243      multimod_compile,
244      ['T12127', '-v0'])
245 test('T12533', normal, compile, [''])
246 test('T12597', normal, compile, [''])
247 test('T12548', normal, compile, [''])
248 test('T13132', normal, compile, [''])