Test cases for GHCi data, class, etc.
[ghc.git] / testsuite / tests / ghci / scripts / all.T
1
2 setTestOpts(if_compiler_profiled(skip))
3
4 test('ghci001', normal, ghci_script, ['ghci001.script'])
5 test('ghci002', normal, ghci_script, ['ghci002.script'])
6 test('ghci003', normal, ghci_script, ['ghci003.script'])
7 test('ghci004', normal, ghci_script, ['ghci004.script'])
8 test('ghci005', normal, ghci_script, ['ghci005.script'])
9 test('ghci006', normal, ghci_script, ['ghci006.script'])
10 test('ghci007', normal, ghci_script, ['ghci007.script'])
11 test('ghci008', normal, ghci_script, ['ghci008.script'])
12 test('ghci009', normal, ghci_script, ['ghci009.script'])
13
14 # Skip this test: deadlock can't be detected now, because we wait for
15 # signals to arrive if there are signal handlers installed, and GHCi
16 # has a ^C handler installed.
17 test('ghci010', skip, ghci_script, ['ghci010.script'])
18
19 test('ghci011', normal, ghci_script, ['ghci011.script'])
20 test('ghci012', normal, ghci_script, ['ghci012.script'])
21 test('ghci013', normal, ghci_script, ['ghci013.script'])
22 test('ghci014', reqlib('QuickCheck'), ghci_script, ['ghci014.script'])
23
24 # Ignore output from ghci015, the output is non-deterministic
25 # (has occasional "thread blocked indefinitely" exceptions), and this
26 # is part of the test.
27 test('ghci015', ignore_output, ghci_script, ['ghci015.script'])
28
29 test('ghci016', expect_broken(552), ghci_script, ['ghci016.script'])
30 test('ghci017', extra_run_opts('-hide-package haskell98'), ghci_script, ['ghci017.script'])
31 test('ghci018', expect_broken(1201), ghci_script, ['ghci018.script'])
32 test('ghci019', normal, ghci_script, ['ghci019.script'])
33 test('ghci020', normal, ghci_script, ['ghci020.script'])
34 test('ghci021', normal, ghci_script, ['ghci021.script'])
35 test('ghci022', normal, ghci_script, ['ghci022.script'])
36
37 test('ghci023', normal, ghci_script, ['ghci023.script'])
38 test('ghci024',
39      [skip_if_fast,
40       if_platform("powerpc-apple-darwin", expect_broken(1845))],
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', normal, ghci_script, ['ghci055.script'])
75 test('2452', normal, ghci_script, ['2452.script'])
76 test('T2766', normal, ghci_script, ['T2766.script'])
77
78 test('1914',
79      extra_clean(['T1914A.hs', 'T1914B.hs']),
80      ghci_script,
81      ['1914.script'])
82
83 test('2976', normal, ghci_script, ['2976.script'])
84 test('2816', normal, ghci_script, ['2816.script'])
85 test('T789', normal, ghci_script, ['T789.script'])
86 test('T3263', normal, ghci_script, ['T3263.script'])
87 test('4051', normal, ghci_script, ['4051.script'])
88 test('T4087', normal, ghci_script, ['T4087.script'])
89 test('T4015', normal, ghci_script, ['T4015.script'])
90 test('T4127', normal, ghci_script, ['T4127.script'])
91 test('T4127a', normal, ghci_script, ['T4127a.script'])
92 test('T4316', reqlib('mtl'), ghci_script, ['T4316.script'])
93 test('T4832', normal, ghci_script, ['T4832.script'])
94 test('T5045', normal, ghci_script, ['T5045.script'])
95 test('T5130', normal, ghci_script, ['T5130.script'])
96 test('T5417', normal, ghci_script, ['T5417.script'])