Merge branch 'master' of http://darcs.haskell.org/testsuite
[ghc.git] / testsuite / tests / simplCore / should_compile / all.T
1 test('simpl001', normal, compile, [''])
2 test('simpl002', normal, compile, [''])
3 test('simpl003', normal, compile, [''])
4 test('simpl004', only_compiler_types(['ghc']), compile, [''])
5 test('simpl005', normal, compile, [''])
6
7 # Missing:
8 # test('simpl006', normal, compile, [''])
9
10 test('simpl007', normal, compile, [''])
11 # Missing: simpl008
12 test('simpl009', normal, compile, [''])
13 test('simpl010', normal, compile, [''])
14 test('simpl011', normal, compile, [''])
15 test('simpl012', normal, compile, [''])
16 test('simpl013', normal, compile, [''])
17 test('simpl014', normal, compile, [''])
18 test('simpl015', only_ways(['optasm']), compile, [''])
19 test('simpl016', normal, compile, [''])
20 test('simpl017', normal, compile_fail, [''])
21 test('simpl018', normal, compile, [''])
22 test('simpl019', normal, compile, [''])
23 test('simpl020',
24      extra_clean(['Simpl020_A.hi', 'Simpl020_A.o']),
25      multimod_compile,
26      ['simpl020', '-v0 -XFlexibleInstances -XUndecidableInstances'])
27
28 test('simpl-T1370', normal, compile, [''])
29 test('T2520', normal, compile, [''])
30
31
32 test('spec001', skip_if_fast, compile, [''])
33 test('spec002', normal, compile, [''])
34 test('spec003', normal, compile, [''])
35
36 test('rule1', normal, compile, [''])
37 test('rule2', only_ways(['optasm']), compile, ['-dsuppress-uniques'])
38 test('T7162', normal, compile, [''])
39
40 test('dfun-loop', normal, compile, [''])
41 test('strict-float', normal, compile, [''])
42 test('T3118', normal, compile, [''])
43 test('T4203', normal, compile, [''])
44
45 # With -prof -fvia-C, this test makes gcc go out to lunch, and the
46 # testsuite driver times out.
47 test('T3016', skip_if_fast, compile, [''])
48
49 test('T1647', normal, compile, ['-fdicts-strict -dcore-lint'])
50
51 test('T3234',
52      only_ways(['optasm']),
53      compile,
54      ['-ddump-simpl-stats -dsuppress-uniques'])
55
56 test('T3717', only_ways(['optasm']),
57               compile,
58               ['-ddump-simpl -dsuppress-uniques'])
59
60 test('spec-inline', only_ways(['optasm']),
61                     compile,
62                     ['-O2 -ddump-simpl -dsuppress-uniques'])
63 test('T4908', only_ways(['optasm']),
64               compile,
65               ['-O2 -ddump-simpl -dsuppress-uniques'])
66
67 test('T4930', [if_compiler_lt('ghc', '7.1', expect_fail),
68                only_ways(['optasm'])],
69               compile,
70               ['-O -ddump-simpl -dsuppress-uniques'])
71
72 test('T3055',
73      extra_clean(['T3055.hi', 'T3055.o', 'T3055.simpl']),
74      run_command,
75      ['$MAKE -s --no-print-directory T3055'])
76
77 test('T4306',
78      normal,
79      run_command,
80      ['$MAKE -s --no-print-directory T4306'])
81
82 test('T4201',
83      normal,
84      run_command,
85      ['$MAKE -s --no-print-directory T4201'])
86
87 test('T3772',
88 #      only_ways(['optasm']),
89      extra_clean(['T3772_A.hi', 'T3772_A.o']),
90      run_command, ['$MAKE -s --no-print-directory T3772'])
91
92 test('EvalTest',
93      normal,
94      run_command,
95      ['$MAKE -s --no-print-directory EvalTest'])
96
97 test('T3831', normal, compile, [''])
98 test('T4345', normal, compile, [''])
99 test('T4398', normal, compile, [''])
100
101 test('T4903',
102      extra_clean(['T4903a.hi', 'T4903a.o']),
103      run_command,
104      ['$MAKE -s --no-print-directory T4903'])
105
106 test('T4918',
107      extra_clean(['T4918a.hi', 'T4918a.o']),
108      run_command,
109      ['$MAKE -s --no-print-directory T4918'])
110
111 test('T4945',
112      if_compiler_lt('ghc', '7.1', expect_fail),
113      run_command,
114      ['$MAKE -s --no-print-directory T4945'])
115
116 test('T4957',
117      normal,
118      run_command,
119      ['$MAKE -s --no-print-directory T4957'])
120
121 test('T5168',
122      normal,
123      run_command,
124      ['$MAKE -s --no-print-directory T5168'])
125
126 test('T5329', normal, compile, [''])
127 test('T5303', reqlib('mtl'), compile, [''])   # Coercion-optimiation test
128 test('T5342', normal, compile, [''])   # Lint error with -prof
129 test('T5359a', normal, compile, [''])  # Lint error with -O (OccurAnal)
130 test('T5359b', normal, compile, [''])  # Lint error with -O (OccurAnal)
131 test('T5458', normal, compile, [''])
132 test('simpl021',
133      extra_clean(['Simpl021A.hi', 'Simpl021A.o',
134                   'Simpl021B.hi', 'Simpl021B.o']),
135      run_command,
136      ['$MAKE -s --no-print-directory simpl021'])
137 test('T5327', normal, run_command, ['$MAKE -s --no-print-directory T5327'])
138 test('T5623', normal, run_command, ['$MAKE -s --no-print-directory T5623'])
139 test('T5658b',
140      normal,
141      run_command,
142      ['$MAKE -s --no-print-directory T5658b'])
143 test('T5776',
144      normal,
145      run_command,
146      ['$MAKE -s --no-print-directory T5776'])
147 test('T4138',
148      extra_clean(['T4138_A.hi', 'T4138_A.o', 'T4138.simpl']),
149      run_command,
150      ['$MAKE -s --no-print-directory T4138'])
151 test('T7088', normal, compile, [''])
152 test('T6082-RULE', normal, compile, [''])
153 test('T7165',
154      extra_clean(['T7165a.hi', 'T7165a.o']),
155      run_command,
156      ['$MAKE -s --no-print-directory T7165'])
157 test('T7287', normal, compile, [''])
158 test('T7360', only_ways(['optasm']), compile, ['-ddump-simpl -dsuppress-uniques'])
159 test('T5366',
160      normal,
161      run_command,
162      ['$MAKE -s --no-print-directory T5366'])