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
39 test('dfun-loop', normal, compile, [''])
40 test('strict-float', normal, compile, [''])
41 test('T3118', normal, compile, [''])
42 test('T4203', normal, compile, [''])
43
44 # With -prof -fvia-C, this test makes gcc go out to lunch, and the
45 # testsuite driver times out.
46 test('T3016', skip_if_fast, compile, [''])
47
48 test('T1647', normal, compile, ['-fdicts-strict -dcore-lint'])
49
50 test('T3234',
51      only_ways(['optasm']),
52      compile,
53      ['-ddump-simpl-stats -dsuppress-uniques'])
54
55 test('T3717', only_ways(['optasm']),
56               compile,
57               ['-ddump-simpl -dsuppress-uniques'])
58
59 test('spec-inline', only_ways(['optasm']),
60                     compile,
61                     ['-O2 -ddump-simpl -dsuppress-uniques'])
62 test('T4908', only_ways(['optasm']),
63               compile,
64               ['-O2 -ddump-simpl -dsuppress-uniques'])
65
66 test('T4930', [if_compiler_lt('ghc', '7.1', expect_fail),
67                only_ways(['optasm'])],
68               compile,
69               ['-O -ddump-simpl -dsuppress-uniques'])
70
71 test('T3055',
72      extra_clean(['T3055.hi', 'T3055.o', 'T3055.simpl']),
73      run_command,
74      ['$MAKE -s --no-print-directory T3055'])
75
76 test('T4306',
77      normal,
78      run_command,
79      ['$MAKE -s --no-print-directory T4306'])
80
81 test('T4201',
82      normal,
83      run_command,
84      ['$MAKE -s --no-print-directory T4201'])
85
86 test('T3772',
87 #      only_ways(['optasm']),
88      extra_clean(['T3772_A.hi', 'T3772_A.o']),
89      run_command, ['$MAKE -s --no-print-directory T3772'])
90
91 test('EvalTest',
92      normal,
93      run_command,
94      ['$MAKE -s --no-print-directory EvalTest'])
95
96 test('T3831', normal, compile, [''])
97 test('T4345', normal, compile, [''])
98 test('T4398', normal, compile, [''])
99
100 test('T4903',
101      extra_clean(['T4903a.hi', 'T4903a.o']),
102      run_command,
103      ['$MAKE -s --no-print-directory T4903'])
104
105 test('T4918',
106      extra_clean(['T4918a.hi', 'T4918a.o']),
107      run_command,
108      ['$MAKE -s --no-print-directory T4918'])
109
110 test('T4945',
111      if_compiler_lt('ghc', '7.1', expect_fail),
112      run_command,
113      ['$MAKE -s --no-print-directory T4945'])
114
115 test('T4957',
116      normal,
117      run_command,
118      ['$MAKE -s --no-print-directory T4957'])
119
120 test('T5168',
121      normal,
122      run_command,
123      ['$MAKE -s --no-print-directory T5168'])
124
125 test('T5329', normal, compile, [''])
126 test('T5303', reqlib('mtl'), compile, [''])   # Coercion-optimiation test
127 test('T5342', normal, compile, [''])   # Lint error with -prof
128 test('T5359a', normal, compile, [''])  # Lint error with -O (OccurAnal)
129 test('T5359b', normal, compile, [''])  # Lint error with -O (OccurAnal)
130 test('T5458', normal, compile, [''])
131 test('simpl021',
132      extra_clean(['Simpl021A.hi', 'Simpl021A.o',
133                   'Simpl021B.hi', 'Simpl021B.o']),
134      run_command,
135      ['$MAKE -s --no-print-directory simpl021'])
136 test('T5327', normal, run_command, ['$MAKE -s --no-print-directory T5327'])
137 test('T5623', normal, run_command, ['$MAKE -s --no-print-directory T5623'])
138 test('T5658b',
139      normal,
140      run_command,
141      ['$MAKE -s --no-print-directory T5658b'])
142 test('T5776',
143      normal,
144      run_command,
145      ['$MAKE -s --no-print-directory T5776'])
146 test('T4138',
147      extra_clean(['T4138_A.hi', 'T4138_A.o', 'T4138.simpl']),
148      run_command,
149      ['$MAKE -s --no-print-directory T4138'])
150 test('T7088', normal, compile, [''])
151 test('T6082-RULE', normal, compile, [''])
152 test('T7165',
153      extra_clean(['T7165a.hi', 'T7165a.o']),
154      run_command,
155      ['$MAKE -s --no-print-directory T7165'])
156 test('T7287', normal, compile, [''])
157