all.T 4.76 KB
Newer Older
1
setTestOpts(only_compiler_types(['ghc']))
2
setTestOpts(omit_ways(['optasm']))
3

Ian Lynagh's avatar
Ian Lynagh committed
4
5
6
7
8
9
10
11
12
13
14
test('SimpleFail1a', normal, compile_fail, [''])
test('SimpleFail1b', normal, compile_fail, [''])
test('SimpleFail2a', normal, compile_fail, [''])
test('SimpleFail2b', normal, compile_fail, [''])
test('SimpleFail3a', normal, compile_fail, [''])
test('SimpleFail4', normal, compile_fail, [''])
test('SimpleFail5a', normal, compile_fail, [''])
test('SimpleFail5b', normal, compile_fail, [''])
test('SimpleFail6', normal, compile_fail, [''])
test('SimpleFail7', normal, compile_fail, [''])
test('SimpleFail8', normal, compile_fail, [''])
15
test('SimpleFail9', normal, compile, [''])
16
test('SimpleFail10', normal, compile, [''])
Ian Lynagh's avatar
Ian Lynagh committed
17
18
19
20
21
22
23
24
25
test('SimpleFail11a', normal, compile_fail, [''])
test('SimpleFail11b', normal, compile_fail, [''])
test('SimpleFail11c', normal, compile_fail, [''])
test('SimpleFail11d', normal, compile_fail, [''])
test('SimpleFail12', normal, compile_fail, [''])
test('SimpleFail13', normal, compile_fail, [''])
test('SimpleFail14', normal, compile_fail, [''])
test('SimpleFail15', normal, compile_fail, [''])
test('SimpleFail16', normal, compile_fail, [''])
26
27
test('TyFamArity1', normal, compile_fail, [''])
test('TyFamArity2', normal, compile_fail, [''])
28
test('TyFamUndec', normal, compile_fail, [''])
29
30

test('NotRelaxedExamples', normal, compile_fail, [''])
simonpj's avatar
simonpj committed
31
test('NonLinearSigErr', normal, compile, [''])
32

33
test('GADTwrong1', normal, compile_fail, [''])
chak@cse.unsw.edu.au.'s avatar
chak@cse.unsw.edu.au. committed
34

Ian Lynagh's avatar
Ian Lynagh committed
35
36
37
38
39
40
test('Over',
     extra_clean(['OverA.hi', 'OverA.o',
                  'OverB.hi', 'OverB.o',
                  'OverC.hi', 'OverC.o']),
     multimod_compile_fail,
     ['OverD', '-no-hs-main -c -v0'])
41

42
test('SkolemOccursLoop', expect_fail, compile_fail, [''])
43

44
test('T2334A', normal, compile_fail, [''])
45
46
47
48
test('T1900', normal, compile_fail, [''])
test('T2157', normal, compile_fail, [''])
test('T2203a', normal, compile_fail, [''])
test('T2627b', normal, compile_fail, [''])
chak@cse.unsw.edu.au.'s avatar
T2693    
chak@cse.unsw.edu.au. committed
49
test('T2693', normal, compile_fail, [''])
50
test('T2888', normal, compile_fail, [''])
51
test('T3092', normal, compile_fail, [''])
simonpj's avatar
simonpj committed
52
test('NoMatchErr', normal, compile_fail, [''])
chak@cse.unsw.edu.au.'s avatar
chak@cse.unsw.edu.au. committed
53
test('T2677', normal, compile_fail, [''])
simonpj's avatar
simonpj committed
54
test('T4099', normal, compile_fail, [''])
55
test('T4272', normal, compile_fail, [''])
simonpj's avatar
simonpj committed
56
test('T4246', normal, compile_fail, [''])
simonpj's avatar
simonpj committed
57
58
test('T4093a', normal, compile_fail, [''])
test('T4093b', normal, compile_fail, [''])
59
test('T3330a', normal, compile_fail, [''])
simonpj's avatar
simonpj committed
60
test('T3330b', normal, compile_fail, [''])
dreixel's avatar
dreixel committed
61
test('T3330c', normal, compile_fail, [''])
simonpj's avatar
simonpj committed
62
test('T4179', normal, compile_fail, [''])
63
test('T4254', normal, compile, [''])
simonpj's avatar
simonpj committed
64
test('T2239', normal, compile_fail, [''])
simonpj's avatar
simonpj committed
65
test('T3440', normal, compile_fail, [''])
simonpj's avatar
simonpj committed
66
test('T4485', normal, compile_fail, [''])
simonpj's avatar
simonpj committed
67
test('T4174', normal, compile_fail, [''])
68
test('DerivUnsatFam', when(compiler_lt('ghc', '7.1'), expect_fail), compile_fail, [''])
simonpj's avatar
simonpj committed
69
70
test('T2664', normal, compile_fail, [''])
test('T2664a', normal, compile, [''])
simonpj's avatar
simonpj committed
71
test('T2544', normal, compile_fail, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
72
test('T1897b', normal, compile_fail, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
73
test('T5439', normal, compile_fail, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
74
test('T5515', normal, compile_fail, [''])
dimitris's avatar
dimitris committed
75
test('T5934', normal, compile_fail, [''])
76
test('T6123', normal, compile_fail, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
77
78
test('ExtraTcsUntch', normal, compile_fail, [''])
test('T7010', normal, compile_fail, [''])
79
80
81
82
83
84
85
86
87

test('Overlap3', normal, compile_fail, [''])
test('Overlap4', normal, compile_fail, [''])
test('Overlap5', normal, compile_fail, [''])
test('Overlap6', normal, compile_fail, [''])
test('Overlap7', normal, compile_fail, [''])
test('Overlap9', normal, compile_fail, [''])
test('Overlap10', normal, compile_fail, [''])
test('Overlap11', normal, compile_fail, [''])
88
test('Overlap15', normal, compile_fail, [''])
89
test('T7194', normal, compile_fail, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
90
test('T7354', normal, compile_fail, [''])
91
92
93
94
test('T7354a',
     extra_clean(['T7354b.o', 'T7354b.hi']),
     run_command,
     ['$MAKE -s --no-print-directory T7354a'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
95
test('T7536', normal, compile_fail, [''])
96

Simon Peyton Jones's avatar
Simon Peyton Jones committed
97
98
test('T7729', normal, compile_fail, [''])
test('T7729a', normal, compile_fail, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
99
test('T7786', normal, compile_fail, [''])
100
101

test('NoGood', normal, compile_fail, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
102
test('T7967', normal, compile_fail, [''])
103

104
105
106
107
test('T7938', normal, compile_fail, [''])

test('ClosedFam3', extra_clean(['ClosedFam3.o-boot', 'ClosedFam3.hi-boot']),
     multimod_compile_fail, ['ClosedFam3', '-v0'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
108
109
test('ClosedFam4', normal, compile_fail, [''])
test('T8155', normal, compile_fail, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
110
111
112
113
test('T8227',
     extra_clean(['T8227a.o', 'T8227a.hi']),
     run_command,
     ['$MAKE -s --no-print-directory T8227'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
114
115
116
117
118
test('T8129',
     normal,
     run_command,
     ['$MAKE -s --no-print-directory T8129'])

eir@cis.upenn.edu's avatar
eir@cis.upenn.edu committed
119
test('T8368', normal, compile_fail, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
120
121
test('T8368a', normal, compile_fail, [''])
test('T8518', normal, compile_fail, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
122
test('T9036', normal, compile_fail, [''])
123
test('T9167', normal, compile_fail, [''])
124
test('T9171', normal, compile_fail, [''])
eir@cis.upenn.edu's avatar
eir@cis.upenn.edu committed
125
test('T9097', normal, compile_fail, [''])