all.T 5.69 KB
Newer Older
pcapriotti's avatar
pcapriotti committed
1
# coding=utf8
2 3 4

setTestOpts(if_compiler_profiled(skip))

pcapriotti's avatar
pcapriotti committed
5 6 7 8 9 10 11 12 13
test('ghci001', combined_output, ghci_script, ['ghci001.script'])
test('ghci002', combined_output, ghci_script, ['ghci002.script'])
test('ghci003', combined_output, ghci_script, ['ghci003.script'])
test('ghci004', combined_output, ghci_script, ['ghci004.script'])
test('ghci005', combined_output, ghci_script, ['ghci005.script'])
test('ghci006', combined_output, ghci_script, ['ghci006.script'])
test('ghci007', combined_output, ghci_script, ['ghci007.script'])
test('ghci008', combined_output, ghci_script, ['ghci008.script'])
test('ghci009', combined_output, ghci_script, ['ghci009.script'])
14 15 16 17 18 19

# Skip this test: deadlock can't be detected now, because we wait for
# signals to arrive if there are signal handlers installed, and GHCi
# has a ^C handler installed.
test('ghci010', skip, ghci_script, ['ghci010.script'])

20
test('ghci011', normal, ghci_script, ['ghci011.script'])
21
test('ghci012', normal, ghci_script, ['ghci012.script'])
22
test('ghci013', normal, ghci_script, ['ghci013.script'])
Ian Lynagh's avatar
Ian Lynagh committed
23
test('ghci014', reqlib('QuickCheck'), ghci_script, ['ghci014.script'])
24 25 26 27 28 29

# Ignore output from ghci015, the output is non-deterministic
# (has occasional "thread blocked indefinitely" exceptions), and this
# is part of the test.
test('ghci015', ignore_output, ghci_script, ['ghci015.script'])

Ian Lynagh's avatar
Ian Lynagh committed
30
test('ghci016', expect_broken(552), ghci_script, ['ghci016.script'])
31
test('ghci017', extra_run_opts('-hide-package haskell98'), ghci_script, ['ghci017.script'])
32
test('ghci018', expect_broken(1201), ghci_script, ['ghci018.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
33
test('ghci019', normal, ghci_script, ['ghci019.script'])
Ian Lynagh's avatar
Ian Lynagh committed
34
test('ghci020', normal, ghci_script, ['ghci020.script'])
Ian Lynagh's avatar
Ian Lynagh committed
35
test('ghci021', normal, ghci_script, ['ghci021.script'])
Simon Marlow's avatar
Simon Marlow committed
36
test('ghci022', normal, ghci_script, ['ghci022.script'])
Simon Marlow's avatar
Simon Marlow committed
37

38
test('ghci023', normal, ghci_script, ['ghci023.script'])
Ian Lynagh's avatar
Ian Lynagh committed
39
test('ghci024',
Ian Lynagh's avatar
Ian Lynagh committed
40 41 42 43
     [skip_if_fast,
      if_platform("powerpc-apple-darwin", expect_broken(1845))],
     run_command,
     ['$MAKE -s --no-print-directory ghci024'])
44
test('ghci025', normal, ghci_script, ['ghci025.script'])
45
test('ghci026', normal, ghci_script, ['ghci026.script'])
46

47
test('ghci027', extra_clean(['ghci027.hs']), ghci_script, ['ghci027.script'])
Simon Marlow's avatar
Simon Marlow committed
48
test('ghci028', normal, ghci_script, ['ghci028.script'])
Ian Lynagh's avatar
Ian Lynagh committed
49
test('ghci029', normal, ghci_script, ['ghci029.script'])
50
test('ghci030', normal, ghci_script, ['ghci030.script'])
51
test('ghci031', normal, ghci_script, ['ghci031.script'])
52
test('ghci032', normal, ghci_script, ['ghci032.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
53
test('ghci033', normal, ghci_script, ['ghci033.script'])
54
test('ghci034', normal, ghci_script, ['ghci034.script'])
Ian Lynagh's avatar
Ian Lynagh committed
55
test('ghci035', normal, ghci_script, ['ghci035.script'])
SamAnklesaria's avatar
SamAnklesaria committed
56
test('ghci036', normal, ghci_script, ['ghci036.script'])
Ian Lynagh's avatar
Ian Lynagh committed
57
test('ghci037', req_interp, run_command, ['$MAKE -s --no-print-directory ghci037'])
Simon Marlow's avatar
Simon Marlow committed
58
test('ghci038', normal, ghci_script, ['ghci038.script'])
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
test('ghci039', normal, ghci_script, ['ghci039.script'])
test('ghci040', normal, ghci_script, ['ghci040.script'])
test('ghci041', normal, ghci_script, ['ghci041.script'])
test('ghci042', normal, ghci_script, ['ghci042.script'])
test('ghci043', normal, ghci_script, ['ghci043.script'])
test('ghci044', normal, ghci_script, ['ghci044.script'])
test('ghci045', normal, ghci_script, ['ghci045.script'])
test('ghci046', normal, ghci_script, ['ghci046.script'])
test('ghci047', normal, ghci_script, ['ghci047.script'])
test('ghci048', normal, ghci_script, ['ghci048.script'])
test('ghci049', normal, ghci_script, ['ghci049.script'])
test('ghci050', normal, ghci_script, ['ghci050.script'])
test('ghci051', normal, ghci_script, ['ghci051.script'])
test('ghci052', normal, ghci_script, ['ghci052.script'])
test('ghci053', normal, ghci_script, ['ghci053.script'])
test('ghci054', normal, ghci_script, ['ghci054.script'])
pcapriotti's avatar
pcapriotti committed
75
test('ghci055', combined_output, ghci_script, ['ghci055.script'])
76 77 78 79 80 81 82 83 84

test('ghci056',
     [
       cmd_prefix('$MAKE --no-print-directory ghci056_setup && '),
       extra_run_opts('ghci056_c.o'),
       extra_clean('ghci056_c.o')
     ],
     ghci_script, ['ghci056.script'])

Simon Marlow's avatar
Simon Marlow committed
85 86
test('ghci057', normal, ghci_script, ['ghci057.script'])

Simon Marlow's avatar
Simon Marlow committed
87
test('2452', normal, ghci_script, ['2452.script'])
simonpj's avatar
simonpj committed
88
test('T2766', normal, ghci_script, ['T2766.script'])
Simon Marlow's avatar
Simon Marlow committed
89

Ian Lynagh's avatar
Ian Lynagh committed
90 91 92 93 94
test('1914',
     extra_clean(['T1914A.hs', 'T1914B.hs']),
     ghci_script,
     ['1914.script'])

Simon Marlow's avatar
Simon Marlow committed
95
test('2976', normal, ghci_script, ['2976.script'])
96
test('2816', normal, ghci_script, ['2816.script'])
Ian Lynagh's avatar
Ian Lynagh committed
97
test('T789', normal, ghci_script, ['T789.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
98
test('T3263', normal, ghci_script, ['T3263.script'])
Simon Marlow's avatar
Simon Marlow committed
99
test('4051', normal, ghci_script, ['4051.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
100
test('T4087', normal, ghci_script, ['T4087.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
101
test('T4015', normal, ghci_script, ['T4015.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
102
test('T4127', normal, ghci_script, ['T4127.script'])
103
test('T4127a', normal, ghci_script, ['T4127a.script'])
104
test('T4316', reqlib('mtl'), ghci_script, ['T4316.script'])
batterseapower's avatar
batterseapower committed
105
test('T4832', normal, ghci_script, ['T4832.script'])
simonpj's avatar
simonpj committed
106
test('T5045', normal, ghci_script, ['T5045.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
107
test('T5130', normal, ghci_script, ['T5130.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
108
test('T5417', normal, ghci_script, ['T5417.script'])
Simon Marlow's avatar
Simon Marlow committed
109
test('T5545', normal, ghci_script, ['T5545.script'])
pcapriotti's avatar
pcapriotti committed
110
test('T5557', combined_output, ghci_script, ['T5557.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
111
test('T5566', normal, ghci_script, ['T5566.script'])
112
test('GhciKinds', normal, ghci_script, ['GhciKinds.script'])
Simon Marlow's avatar
Simon Marlow committed
113
test('T5564', normal, ghci_script, ['T5564.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
114 115
test('Defer02', normal, ghci_script, ['Defer02.script'])
test('T5820', normal, ghci_script, ['T5820.script'])
Simon Marlow's avatar
Simon Marlow committed
116
test('T5836', normal, ghci_script, ['T5836.script'])
pcapriotti's avatar
pcapriotti committed
117
test('T5979', normalise_slashes, ghci_script, ['T5979.script'])
pcapriotti's avatar
pcapriotti committed
118 119 120 121 122 123 124 125
test('T5975a',
     [pre_cmd('touch föøbàr.hs'),
      clean_cmd('rm föøbàr.hs')],
     ghci_script, ['T5975a.script'])
test('T5975b',
     [pre_cmd('touch föøbàr.hs'),
      clean_cmd('rm föøbàr.hs')],
     ghci_script, ['T5975b.script'])