all.T 4.22 KB
Newer Older
1
2
3
test('simpl001', normal, compile, [''])
test('simpl002', normal, compile, [''])
test('simpl003', normal, compile, [''])
ross's avatar
ross committed
4
test('simpl004', only_compiler_types(['ghc']), compile, [''])
5
test('simpl005', normal, compile, [''])
6

7
8
# Missing:
# 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, [''])
simonpj's avatar
simonpj committed
17
test('simpl014', normal, compile, [''])
18
test('simpl015', only_ways(['optasm']), compile, [''])
19
test('simpl016', normal, compile, [''])
simonpj's avatar
simonpj committed
20
test('simpl017', normal, compile_fail, [''])
simonpj's avatar
simonpj committed
21
test('simpl018', normal, compile, [''])
chak@cse.unsw.edu.au.'s avatar
chak@cse.unsw.edu.au. committed
22
test('simpl019', normal, compile, [''])
Ian Lynagh's avatar
Ian Lynagh committed
23
24
25
26
test('simpl020',
     extra_clean(['Simpl020_A.hi', 'Simpl020_A.o']),
     multimod_compile,
     ['simpl020', '-v0 -XFlexibleInstances -XUndecidableInstances'])
27

simonpj's avatar
simonpj committed
28
test('simpl-T1370', normal, compile, [''])
simonpj's avatar
simonpj committed
29
test('T2520', normal, compile, [''])
simonpj's avatar
simonpj committed
30
31


32
test('spec001', skip_if_fast, compile, [''])
33
test('spec002', normal, compile, [''])
simonpj's avatar
simonpj committed
34
test('spec003', normal, compile, [''])
35

simonpj's avatar
simonpj committed
36
test('rule1', normal, compile, [''])
37
test('rule2', only_ways(['optasm']), compile, ['-dsuppress-uniques'])
simonpj's avatar
simonpj committed
38

39
test('dfun-loop', normal, compile, [''])
40
test('strict-float', normal, compile, [''])
simonpj's avatar
simonpj committed
41
test('T3118', normal, compile, [''])
simonpj's avatar
simonpj committed
42
test('T4203', normal, compile, [''])
43

44
45
# With -prof -fvia-C, this test makes gcc go out to lunch, and the
# testsuite driver times out.
46
test('T3016', skip_if_fast, compile, [''])
Ian Lynagh's avatar
Ian Lynagh committed
47

Ian Lynagh's avatar
Ian Lynagh committed
48
49
test('T1647', normal, compile, ['-fdicts-strict -dcore-lint'])

50
test('T3234',
51
     only_ways(['optasm']),
52
     compile,
53
     ['-ddump-simpl-stats -dsuppress-uniques'])
simonpj's avatar
simonpj committed
54

daniel.is.fischer's avatar
daniel.is.fischer committed
55
56
test('T3717', only_ways(['optasm']),
              compile,
57
              ['-ddump-simpl -dsuppress-uniques'])
simonpj's avatar
simonpj committed
58

daniel.is.fischer's avatar
daniel.is.fischer committed
59
60
test('spec-inline', only_ways(['optasm']),
              	    compile,
61
              	    ['-O2 -ddump-simpl -dsuppress-uniques'])
daniel.is.fischer's avatar
daniel.is.fischer committed
62
63
test('T4908', only_ways(['optasm']),
              compile,
simonpj's avatar
simonpj committed
64
              ['-O2 -ddump-simpl -dsuppress-uniques'])
65

Ian Lynagh's avatar
Ian Lynagh committed
66
test('T4930', [if_compiler_lt('ghc', '7.1', expect_fail),
67
               only_ways(['optasm'])],
daniel.is.fischer's avatar
daniel.is.fischer committed
68
              compile,
simonpj's avatar
simonpj committed
69
70
              ['-O -ddump-simpl -dsuppress-uniques'])

simonpj's avatar
simonpj committed
71
test('T3055',
72
     extra_clean(['T3055.hi', 'T3055.o', 'T3055.simpl']),
simonpj's avatar
simonpj committed
73
74
75
     run_command,
     ['$MAKE -s --no-print-directory T3055'])

simonpj's avatar
simonpj committed
76
77
78
79
80
test('T4306',
     normal,
     run_command,
     ['$MAKE -s --no-print-directory T4306'])

simonpj's avatar
simonpj committed
81
82
83
84
85
test('T4201',
     normal,
     run_command,
     ['$MAKE -s --no-print-directory T4201'])

simonpj's avatar
simonpj committed
86
test('T3772',
daniel.is.fischer's avatar
daniel.is.fischer committed
87
#      only_ways(['optasm']),
simonpj's avatar
simonpj committed
88
89
     extra_clean(['T3772_A.hi', 'T3772_A.o']),
     run_command, ['$MAKE -s --no-print-directory T3772'])
simonpj's avatar
simonpj committed
90

simonpj's avatar
simonpj committed
91
92
test('EvalTest',
     normal,
daniel.is.fischer's avatar
daniel.is.fischer committed
93
     run_command,
simonpj's avatar
simonpj committed
94
95
     ['$MAKE -s --no-print-directory EvalTest'])

simonpj's avatar
simonpj committed
96
test('T3831', normal, compile, [''])
simonpj's avatar
simonpj committed
97
test('T4345', normal, compile, [''])
simonpj's avatar
simonpj committed
98
test('T4398', normal, compile, [''])
simonpj's avatar
simonpj committed
99
100

test('T4903',
101
     extra_clean(['T4903a.hi', 'T4903a.o']),
simonpj's avatar
simonpj committed
102
103
     run_command,
     ['$MAKE -s --no-print-directory T4903'])
simonpj's avatar
simonpj committed
104
105

test('T4918',
106
     extra_clean(['T4918a.hi', 'T4918a.o']),
simonpj's avatar
simonpj committed
107
108
     run_command,
     ['$MAKE -s --no-print-directory T4918'])
simonpj's avatar
simonpj committed
109
110

test('T4945',
Ian Lynagh's avatar
Ian Lynagh committed
111
     if_compiler_lt('ghc', '7.1', expect_fail),
simonpj's avatar
simonpj committed
112
113
     run_command,
     ['$MAKE -s --no-print-directory T4945'])
simonpj's avatar
simonpj committed
114
115
116
117
118

test('T4957',
     normal,
     run_command,
     ['$MAKE -s --no-print-directory T4957'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
119
120
121
122
123

test('T5168',
     normal,
     run_command,
     ['$MAKE -s --no-print-directory T5168'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
124
125

test('T5329', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
126
test('T5303', reqlib('mtl'), compile, [''])   # Coercion-optimiation test
Simon Peyton Jones's avatar
Simon Peyton Jones committed
127
128
129
test('T5342', normal, compile, [''])   # Lint error with -prof
test('T5359a', normal, compile, [''])  # Lint error with -O (OccurAnal)
test('T5359b', normal, compile, [''])  # Lint error with -O (OccurAnal)
daniel.is.fischer's avatar
daniel.is.fischer committed
130
test('T5458', normal, compile, [''])
131
132
133
134
135
test('simpl021',
     extra_clean(['Simpl021A.hi', 'Simpl021A.o',
                  'Simpl021B.hi', 'Simpl021B.o']),
     run_command,
     ['$MAKE -s --no-print-directory simpl021'])
Ian Lynagh's avatar
Ian Lynagh committed
136
test('T5327', normal, run_command, ['$MAKE -s --no-print-directory T5327'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
137
138
139
140
test('T5658b',
     normal,
     run_command,
     ['$MAKE -s --no-print-directory T5658b'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
141
142
143
144
test('T5776',
     normal,
     run_command,
     ['$MAKE -s --no-print-directory T5776'])