summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/all.T
blob: 3946987e37dd2761e25f4b9b2c05e527a4c6ea37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# Args to vtc are: extra compile flags

test('rn003', normal, compile, [''])
test('rn005', normal, compile, [''])
test('rn006', normal, compile, [''])
test('rn009',
     [only_compiler_types(['ghc']),
      extra_clean(['Imp10Aux.hi',      'Imp10Aux.o',
                   'Imp10Aux.hi-boot', 'Imp10Aux.o-boot'])],
     multimod_compile,
     ['rn009', '-v0'])
# rn10 tests the same things as 009,011,012
#test('rn010', only_compiler_types(['ghc']), multimod_compile, ['rn010', '-v0'])
test('rn011',
     [only_compiler_types(['ghc']),
      extra_clean(['Imp100Aux.hi',      'Imp100Aux.o',
                   'Imp100Aux.hi-boot', 'Imp100Aux.o-boot'])],
     multimod_compile,
     ['rn011', '-v0'])
test('rn012',
     [only_compiler_types(['ghc']),
      extra_clean(['Imp500Aux.hi',      'Imp500Aux.o',
                   'Imp500Aux.hi-boot', 'Imp500Aux.o-boot'])],
     multimod_compile,
     ['rn012', '-v0'])
test('rn013', normal, compile, [''])
test('rn017',
     [only_compiler_types(['ghc']),
      extra_clean(['RnAux017.hi',      'RnAux017.o',
                   'RnAux017.hi-boot', 'RnAux017.o-boot'])],
     multimod_compile,
     ['rn017', '-v0'])
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, [''])
test('rn037', normal, compile, [''])
	
# Missing:
# test('rn038', normal, compile, [''])

test('rn039', normal, compile, [''])
test('rn040', normal, compile, ['-fwarn-unused-binds -fwarn-unused-matches'])
test('rn041', normal, compile, [''])
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',
     extra_clean(['Rn044_A.hi', 'Rn044_A.o', 'Rn044_B.hi', 'Rn044_B.o']),
     multimod_compile, ['rn044', '-v0'])
test('rn045', normal, compile, [''])
test('rn046', normal, compile, ['-W'])
test('rn047', normal, compile, ['-W'])
test('rn048', normal, compile, ['-W'])
test('rn049', normal, compile, ['-W'])

test('rn050',
     extra_clean(['Rn050_A.hi', 'Rn050_A.o']),
     multimod_compile, ['rn050', '-v0'])

test('rn051', normal, compile, [''])

test('rn052',
     extra_clean(['Rn052Aux.hi', 'Rn052Aux.o']),
     multimod_compile, ['rn052', '-v0'])

test('rn053',
     extra_clean(['Rn053_A.hi', 'Rn053_A.o', 'Rn053_B.hi', 'Rn053_B.o']),
     multimod_compile, ['rn053', '-v0'])

test('rn054', normal, compile, [''])
test('rn055', normal, compile, [''])
test('rn056', normal, compile, [''])
test('rn057', normal, compile, [''])
test('rn058', normal, compile, [''])
test('rn059',
     extra_clean(['Rn059_A.hi', 'Rn059_A.o', 'Rn059_B.hi', 'Rn059_B.o']),
     multimod_compile, ['rn059', '-v0'])
test('rn060', normal, compile, [''])
test('rn061', normal, compile, [''])
test('rn062', normal, compile, [''])
test('rn063', normal, compile, [''])
test('rn064', normal, compile, [''])
test('rn065',
     extra_clean(['Rn065A.hi', 'Rn065A.o']),
     multimod_compile,
     ['rn065', '-v0'])

test('rn066',
     extra_clean(['Rn066_A.hi', 'Rn066_A.o']),
     multimod_compile, ['rn066', '-v0'])

test('rn067',
     extra_clean(['Rn067_A.hi', 'Rn067_A.o']),
     multimod_compile, ['rn067', '-v0'])

test('T1972', normal, compile, [''])
test('T2205', normal, compile, [''])

test('2334', normal, compile, [''])
test('T2506', normal, compile, [''])
test('T2914', normal, compile, [''])
test('T3221', normal, compile, [''])
test('T3262', normal, compile, [''])
test('T3371', normal, compile, [''])
test('T1074b', normal, compile, ['-Wall'])
test('T3640', normal, compile, [''])
test('T3901', normal, compile, [''])
test('T1954', normal, compile, [''])
test('T3943', normal, compile, [''])

test('timing001', normal, compile, [''])
test('timing002', normal, compile, [''])
test('timing003', normal, compile, [''])

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

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'])

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'])
test('T1789', normal, compile, [''])
test('T1789_2', normal, compile, [''])
test('T3449',
     extra_clean(['T3449.hi-boot', 'T3449.hi',
                  'T3449.o-boot',  'T3449.o']),
     run_command,
     ['$MAKE -s --no-print-directory T3449'])
test('T4239',
     [expect_broken(4239),
      extra_clean(['T4239A.hi', 'T4239A.o', 'T4239.hi', 'T4239.o',
                   'T4239.imports'])],
     run_command,
     ['$MAKE -s --no-print-directory T4239'])
test('T4240',
     [extra_clean(['T4240A.hi', 'T4240A.o', 'T4240.hi', 'T4240.o',
                   'T4240.imports'])],
     run_command,
     ['$MAKE -s --no-print-directory T4240'])

test('T4489', normal, compile, [''])
test('T4478', if_compiler_lt('ghc', '7.1', expect_fail), compile, [''])
test('T4534', normal, compile, [''])

test('mc09', normal, compile, [''])
test('mc10', normal, compile, [''])
test('mc11', normal, compile, [''])
test('mc12', normal, compile, [''])
test('T2436',
     [ only_compiler_types(['ghc']),
       extra_clean(['T2436a.hi', 'T2436a.o']) ],
     multimod_compile,
     ['T2436', '-v0'])
test('T5331', normal, compile, [''])   # Unused tyvar warnings
test('T5334', normal, compile, [''])   # Unused tyvar warnings