all.T 6.31 KB
Newer Older
1
setTestOpts([extra_run_opts('-ignore-dot-ghci'),
2
             extra_ways(['ghci-ext']), # test with -fexternal-interpreter
3
             normalise_slashes])
mnislaih's avatar
mnislaih committed
4

5
test('print001', normal, ghci_script, ['print001.script'])
6 7
test('print002', extra_files(['../Test.hs']), ghci_script, ['print002.script'])
test('print003', extra_files(['../Test.hs']), ghci_script, ['print003.script'])
8
test('print004', normal, ghci_script, ['print004.script'])
9 10 11 12
test('print005', extra_files(['../QSort.hs']), ghci_script, ['print005.script'])
test('print006', extra_files(['../Test.hs']), ghci_script, ['print006.script'])
test('print007', extra_files(['../Test.hs']), ghci_script, ['print007.script'])
test('print008', extra_files(['../Test.hs']), ghci_script, ['print008.script'])
13
test('print009', normal, ghci_script, ['print009.script'])
14 15 16 17 18 19 20 21 22
test('print010', extra_files(['../Test.hs']), ghci_script, ['print010.script'])
test('print011', extra_files(['../Test.hs']), ghci_script, ['print011.script'])
test('print012', extra_files(['../GADT.hs', '../Test.hs']), ghci_script, ['print012.script'])
test('print013', extra_files(['../GADT.hs']), ghci_script, ['print013.script'])
test('print014', extra_files(['../GADT.hs']), ghci_script, ['print014.script'])
test('print016', extra_files(['../Test.hs']), ghci_script, ['print016.script'])
test('print017', extra_files(['../Test.hs']), ghci_script, ['print017.script'])
test('print018', extra_files(['../Test.hs']), ghci_script, ['print018.script'])
test('print019', extra_files(['../Test.hs']), ghci_script, ['print019.script'])
23 24 25 26 27 28

# The ghci-ext way emits messages in a slightly different order due to
# printing from two processes, so let's just skip it.
test('print020', [extra_files(['../HappyTest.hs']),
                  omit_ways(['ghci-ext'])], ghci_script, ['print020.script'])

29
test('print021', normal, ghci_script, ['print021.script'])
30
test('print022',
31
     [when(arch('powerpc64'), expect_broken(14455))],
32
     ghci_script, ['print022.script'])
33 34
test('print023', extra_files(['../Test.hs']), ghci_script, ['print023.script'])
test('print024', extra_files(['../Test.hs']), ghci_script, ['print024.script'])
mnislaih's avatar
mnislaih committed
35
test('print025', normal, ghci_script, ['print025.script'])
36
test('print026', normal, ghci_script, ['print026.script'])
37
test('print027', normal, ghci_script, ['print027.script'])
38
test('print028', normal, ghci_script, ['print028.script'])
mnislaih's avatar
mnislaih committed
39
test('print029', normal, ghci_script, ['print029.script'])
40
test('print030', extra_files(['print029.hs']), ghci_script, ['print030.script'])
mnislaih's avatar
mnislaih committed
41
test('print031', normal, ghci_script, ['print031.script'])
42
test('print032', extra_files(['print029.hs']), ghci_script, ['print032.script'])
Ian Lynagh's avatar
Ian Lynagh committed
43
test('print033', normal, ghci_script, ['print033.script'])
44 45
test('print034', extra_files(['../GADT.hs', '../Test.hs']), ghci_script, ['print034.script'])
test('print035', extra_files(['../Unboxed.hs']), ghci_script, ['print035.script'])
46
test('print036', expect_broken(9046), ghci_script, ['print036.script'])
47

48 49 50 51 52 53 54 55 56 57
test('break001', extra_files(['../Test2.hs']), ghci_script, ['break001.script'])
test('break002', extra_files(['../Test2.hs']), ghci_script, ['break002.script'])
test('break003', extra_files(['../Test3.hs']), ghci_script, ['break003.script'])
test('break005', extra_files(['../QSort.hs']), ghci_script, ['break005.script'])
test('break006', extra_files(['../Test3.hs']), ghci_script, ['break006.script'])
test('break007', [extra_files(['Break007.hs'])], ghci_script, ['break007.script'])
test('break008', extra_files(['../Test3.hs']), ghci_script, ['break008.script'])
test('break009', [extra_files(['../Test6.hs']),
                  combined_output], ghci_script, ['break009.script'])
test('break010', extra_files(['../Test6.hs']), ghci_script, ['break010.script'])
58
test('break011',
59
     [extra_files(['../Test7.hs']),
60
      combined_output],
61
     ghci_script, ['break011.script'])
62 63
test('break012', normal, ghci_script, ['break012.script'])
test('break013', normal, ghci_script, ['break013.script'])
mnislaih's avatar
mnislaih committed
64
test('break014', normal, ghci_script, ['break014.script'])
65
test('break015', expect_broken(1532), ghci_script, ['break015.script'])
pcapriotti's avatar
pcapriotti committed
66
test('break016', combined_output, ghci_script, ['break016.script'])
67 68 69 70 71 72
test('break017', [extra_files(['../QSort.hs']),
                  combined_output], ghci_script, ['break017.script'])
test('break018', extra_files(['../mdo.hs']), ghci_script, ['break018.script'])
test('break019', extra_files(['../Test2.hs']), ghci_script, ['break019.script'])
test('break020', extra_files(['Break020b.hs']), ghci_script, ['break020.script'])
test('break021', extra_files(['Break020b.hs', 'break020.hs']), ghci_script, ['break021.script'])
pcapriotti's avatar
pcapriotti committed
73
test('break024', combined_output, ghci_script, ['break024.script'])
74
test('break025', normal, ghci_script, ['break025.script'])
Ian Lynagh's avatar
Ian Lynagh committed
75
test('break026', normal, ghci_script, ['break026.script'])
76
test('break027', extra_files(['../QSort.hs']), ghci_script, ['break027.script'])
77
test('break028', normal, ghci_script, ['break028.script'])
78

79 80
test('dynbrk001', extra_files(['../QSort.hs']), ghci_script, ['dynbrk001.script'])
test('dynbrk002', extra_files(['../QSort.hs']), ghci_script, ['dynbrk002.script'])
81
test('dynbrk003', normal, ghci_script, ['dynbrk003.script'])
82
test('dynbrk004', extra_files(['../mdo.hs']), ghci_script, ['dynbrk004.script'])
83 84
test('dynbrk005', [extra_files(['TupleN.hs']), expect_broken(1530)],
     ghci_script, ['dynbrk005.script'])
85 86 87
test('dynbrk007', normal, ghci_script, ['dynbrk007.script'])
test('dynbrk008', normal, ghci_script, ['dynbrk008.script'])
test('dynbrk009', normal, ghci_script, ['dynbrk009.script'])
88

ian@well-typed.com's avatar
ian@well-typed.com committed
89
test('result001', normal, ghci_script, ['result001.script'])
Simon Marlow's avatar
Simon Marlow committed
90

91 92
test('listCommand001', [extra_files(['../Test3.hs']),
                        combined_output], ghci_script, ['listCommand001.script'])
Ian Lynagh's avatar
Ian Lynagh committed
93
test('listCommand002', normal, ghci_script, ['listCommand002.script'])
Simon Marlow's avatar
Simon Marlow committed
94

95 96 97 98
test('hist001', [extra_files(['../Test3.hs']), extra_run_opts('+RTS -I0')],
     ghci_script, ['hist001.script'])
test('hist002', [extra_files(['../Test3.hs']), extra_run_opts('+RTS -I0')],
     ghci_script, ['hist002.script'])
Simon Marlow's avatar
Simon Marlow committed
99

100
test('T2740', normal, ghci_script, ['T2740.script'])
101

102
test('getargs', extra_files(['../getargs.hs']), ghci_script, ['getargs.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
103
test('T7386', normal, ghci_script, ['T7386.script'])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
104
test('T8557', normal, ghci_script, ['T8557.script'])
105
test('T12458', normal, ghci_script, ['T12458.script'])
106 107
test('T13825-debugger', when(arch('powerpc64'), expect_broken(14455)),
      ghci_script, ['T13825-debugger.script'])