0181c2d1fb4e86aaa5aea7e8ba6d8f06df4a148c
[ghc.git] / testsuite / tests / ghci / scripts / all.T
1 # coding=utf8
2
3 setTestOpts(when(compiler_profiled(), skip))
4
5 test('ghci001', combined_output, ghci_script, ['ghci001.script'])
6 test('ghci002', combined_output, ghci_script, ['ghci002.script'])
7 test('ghci003', combined_output, ghci_script, ['ghci003.script'])
8 test('ghci004', combined_output, ghci_script, ['ghci004.script'])
9 test('ghci005', combined_output, ghci_script, ['ghci005.script'])
10 test('ghci006', combined_output, ghci_script, ['ghci006.script'])
11 test('ghci007', combined_output, ghci_script, ['ghci007.script'])
12 test('ghci008', combined_output, ghci_script, ['ghci008.script'])
13 test('ghci009', combined_output, ghci_script, ['ghci009.script'])
14
15 # Skip this test: deadlock cannot be detected now, because we wait for
16 # signals to arrive if there are signal handlers installed, and GHCi
17 # has a ^C handler installed.
18 test('ghci010', skip, ghci_script, ['ghci010.script'])
19
20 test('ghci011', normal, ghci_script, ['ghci011.script'])
21 test('ghci012', normal, ghci_script, ['ghci012.script'])
22 test('ghci013', normal, ghci_script, ['ghci013.script'])
23 test('ghci014', reqlib('QuickCheck'), ghci_script, ['ghci014.script'])
24
25 # Ignore output from ghci015, the output is non-deterministic
26 # (has occasional "thread blocked indefinitely" exceptions), and this
27 # is part of the test.
28 test('ghci015', ignore_output, ghci_script, ['ghci015.script'])
29
30 test('ghci016', expect_broken(552), ghci_script, ['ghci016.script'])
31 test('ghci017', [reqlib('haskell98'), extra_run_opts('-hide-package haskell98')], ghci_script, ['ghci017.script'])
32 test('ghci018', normal, ghci_script, ['ghci018.script'])
33 test('ghci019', normal, ghci_script, ['ghci019.script'])
34 test('ghci020', normal, ghci_script, ['ghci020.script'])
35 test('ghci021', normal, ghci_script, ['ghci021.script'])
36 test('ghci022', normal, ghci_script, ['ghci022.script'])
37
38 test('ghci023', normal, ghci_script, ['ghci023.script'])
39 test('ghci024',
40      when(fast(), skip),
41      run_command,
42      ['$MAKE -s --no-print-directory ghci024'])
43 test('ghci025', normal, ghci_script, ['ghci025.script'])
44 test('ghci026', normal, ghci_script, ['ghci026.script'])
45
46 test('ghci027', extra_clean(['ghci027.hs']), ghci_script, ['ghci027.script'])
47 test('ghci028', normal, ghci_script, ['ghci028.script'])
48 test('ghci029', normal, ghci_script, ['ghci029.script'])
49 test('ghci030', normal, ghci_script, ['ghci030.script'])
50 test('ghci031', normal, ghci_script, ['ghci031.script'])
51 test('ghci032', normal, ghci_script, ['ghci032.script'])
52 test('ghci033', normal, ghci_script, ['ghci033.script'])
53 test('ghci034', normal, ghci_script, ['ghci034.script'])
54 test('ghci035', normal, ghci_script, ['ghci035.script'])
55 test('ghci036', normal, ghci_script, ['ghci036.script'])
56 test('ghci037', req_interp, run_command, ['$MAKE -s --no-print-directory ghci037'])
57 test('ghci038', normal, ghci_script, ['ghci038.script'])
58 test('ghci039', normal, ghci_script, ['ghci039.script'])
59 test('ghci040', normal, ghci_script, ['ghci040.script'])
60 test('ghci041', normal, ghci_script, ['ghci041.script'])
61 test('ghci042', normal, ghci_script, ['ghci042.script'])
62 test('ghci043', normal, ghci_script, ['ghci043.script'])
63 test('ghci044', normal, ghci_script, ['ghci044.script'])
64 test('ghci045', normal, ghci_script, ['ghci045.script'])
65 test('ghci046', normal, ghci_script, ['ghci046.script'])
66 test('ghci047', normal, ghci_script, ['ghci047.script'])
67 test('ghci048', normal, ghci_script, ['ghci048.script'])
68 test('ghci049', normal, ghci_script, ['ghci049.script'])
69 test('ghci050', normal, ghci_script, ['ghci050.script'])
70 test('ghci051', normal, ghci_script, ['ghci051.script'])
71 test('ghci052', normal, ghci_script, ['ghci052.script'])
72 test('ghci053', normal, ghci_script, ['ghci053.script'])
73 test('ghci054', normal, ghci_script, ['ghci054.script'])
74 test('ghci055', combined_output, ghci_script, ['ghci055.script'])
75
76 test('ghci056',
77      [
78        pre_cmd('$MAKE -s --no-print-directory ghci056_setup'),
79        extra_run_opts('ghci056_c.o'),
80        extra_clean(['ghci056_c.o'])
81      ],
82      ghci_script, ['ghci056.script'])
83
84 test('ghci057', normal, ghci_script, ['ghci057.script'])
85
86 test('T2452', normal, ghci_script, ['T2452.script'])
87 test('T2766', normal, ghci_script, ['T2766.script'])
88
89 test('T1914',
90      extra_clean(['T1914A.hs', 'T1914B.hs']),
91      ghci_script,
92      ['T1914.script'])
93
94 test('T2976', normal, ghci_script, ['T2976.script'])
95 test('T2816', normal, ghci_script, ['T2816.script'])
96 test('T789', normal, ghci_script, ['T789.script'])
97 test('T3263', normal, ghci_script, ['T3263.script'])
98 test('T4051', normal, ghci_script, ['T4051.script'])
99 test('T4087', normal, ghci_script, ['T4087.script'])
100 test('T4015', normal, ghci_script, ['T4015.script'])
101 test('T4127', normal, ghci_script, ['T4127.script'])
102 test('T4127a', normal, ghci_script, ['T4127a.script'])
103 test('T4316', reqlib('mtl'), ghci_script, ['T4316.script'])
104 test('T4832', normal, ghci_script, ['T4832.script'])
105 test('T5045', normal, ghci_script, ['T5045.script'])
106 test('T5130', normal, ghci_script, ['T5130.script'])
107 test('T5417', normal, ghci_script, ['T5417.script'])
108 test('T5545', normal, ghci_script, ['T5545.script'])
109 test('T5557', combined_output, ghci_script, ['T5557.script'])
110 test('T5566', normal, ghci_script, ['T5566.script'])
111 test('GhciKinds', normal, ghci_script, ['GhciKinds.script'])
112 test('T5564', normal, ghci_script, ['T5564.script'])
113 test('Defer02', normal, ghci_script, ['Defer02.script'])
114 test('T5820', normal, ghci_script, ['T5820.script'])
115 test('T5836', normal, ghci_script, ['T5836.script'])
116 test('T5979', normalise_slashes, ghci_script, ['T5979.script'])
117 test('T5975a',
118      [pre_cmd('touch föøbàr1.hs'),
119       clean_cmd('rm föøbàr1.hs')],
120      ghci_script, ['T5975a.script'])
121 test('T5975b',
122      [pre_cmd('touch föøbàr2.hs'),
123       clean_cmd('rm föøbàr2.hs'),
124       extra_hc_opts('föøbàr2.hs')],
125      ghci_script, ['T5975b.script'])
126 test('T6027ghci', normal, ghci_script, ['T6027ghci.script'])
127
128 test('T6007', normal, ghci_script, ['T6007.script'])
129 test('T6091', normal, ghci_script, ['T6091.script'])
130 test('T6106',
131      [extra_clean(['T6106.hs',
132                    'T6106_preproc.hi', 'T6106_preproc.o',
133                    'T6106_preproc', 'T6106_preproc.exe']),
134       pre_cmd('$MAKE -s --no-print-directory T6106_prep')],
135      ghci_script,
136      ['T6106.script'])
137 test('T6105', normal, ghci_script, ['T6105.script'])
138 test('T7117', normal, ghci_script, ['T7117.script'])
139 test('ghci058',
140      [extra_clean(['Ghci058.hs', 'Ghci058.hi', 'Ghci058.o']),
141       cmd_prefix('ghciWayFlags=' + config.ghci_way_flags)],
142      ghci_script,
143      ['ghci058.script'])
144 test('T7587', normal, ghci_script, ['T7587.script'])
145 test('T7688', normal, ghci_script, ['T7688.script'])
146 test('T7627', normal, ghci_script, ['T7627.script'])
147 test('T7627b', normal, ghci_script, ['T7627b.script'])
148 test('T7586', normal, ghci_script, ['T7586.script'])
149 test('T4175', normal, ghci_script, ['T4175.script'])
150 test('T7872', normal, ghci_script, ['T7872.script'])
151 test('T7873', normal, ghci_script, ['T7873.script'])
152 test('T7939', normal, ghci_script, ['T7939.script'])
153 test('T7894', normal, ghci_script, ['T7894.script'])
154 test('T8116', normal, ghci_script, ['T8116.script'])
155 test('T8113', normal, ghci_script, ['T8113.script'])
156 test('T8172', normal, ghci_script, ['T8172.script'])
157 test('T8215', normal, ghci_script, ['T8215.script'])
158 test('T8357', normal, ghci_script, ['T8357.script'])
159 test('T8383', normal, ghci_script, ['T8383.script'])
160 test('T8469', normal, ghci_script, ['T8469.script'])
161 test('T8485', normal, ghci_script, ['T8485.script'])
162 test('T8535', normal, ghci_script, ['T8535.script'])
163 test('T8639', normal, ghci_script, ['T8639.script'])
164 test('T8640', normal, ghci_script, ['T8640.script'])
165 test('T8579', normal, ghci_script, ['T8579.script'])
166 test('T8649', normal, ghci_script, ['T8649.script'])
167 test('T8674', normal, ghci_script, ['T8674.script'])
168 test('T8696', normal, ghci_script, ['T8696.script'])
169 test('T8776', normal, ghci_script, ['T8776.script'])
170 test('ghci059', normal, ghci_script, ['ghci059.script'])
171 test('T8831', expect_broken(8831), ghci_script, ['T8831.script'])