Add regression test for old issue #507
[ghc.git] / testsuite / tests / ghci / should_run / all.T
1
2 # We only want to run these tests with GHCi
3 def just_ghci( name, opts ):
4   opts.only_ways = ['ghci']
5
6 test('ghcirun001', just_ghci, compile_and_run, [''])
7 test('ghcirun002', just_ghci, compile_and_run, [''])
8 test('ghcirun003', just_ghci, compile_and_run, [''])
9 test('T2589',      just_ghci, compile_and_run, [''])
10 test('T2881',      just_ghci, compile_and_run, [''])
11
12 test('T3171',
13      [when(opsys('mingw32'),skip),
14       fragile(15383),
15       req_interp,
16       combined_output],
17      makefile_test, [])
18
19 test('ghcirun004', just_ghci, compile_and_run, [''])
20 test('T8377',      just_ghci, compile_and_run, [''])
21 test('T9914',      just_ghci, ghci_script, ['T9914.script'])
22 test('T9915',      just_ghci, ghci_script, ['T9915.script'])
23 test('T10145',     just_ghci, ghci_script, ['T10145.script'])
24 test('T7253',      just_ghci, ghci_script, ['T7253.script'])
25 test('T10857a',    just_ghci, ghci_script, ['T10857a.script'])
26 test('T10857b',
27       [extra_hc_opts("-XMonomorphismRestriction -XNoExtendedDefaultRules")],
28                    ghci_script, ['T10857b.script'])
29 test('T11328',     just_ghci, ghci_script, ['T11328.script'])
30 test('T11825',     just_ghci, ghci_script, ['T11825.script'])
31 test('T12128',     just_ghci, ghci_script, ['T12128.script'])
32 test('T12456',     just_ghci, ghci_script, ['T12456.script'])
33 test('T12525',     just_ghci, ghci_script, ['T12525.script'])
34 test('T12549',     just_ghci, ghci_script, ['T12549.script'])
35 test('BinaryArray', normal, compile_and_run, [''])
36 test('T14125a',    just_ghci, ghci_script, ['T14125a.script'])
37 test('T13825-ghci',just_ghci, ghci_script, ['T13825-ghci.script'])
38 test('T14963a', just_ghci, ghci_script, ['T14963a.script'])
39 test('T14963b', just_ghci, ghci_script, ['T14963b.script'])
40 test('T14963c', [extra_hc_opts("-fdefer-type-errors")], ghci_script, ['T14963c.script'])
41 test('T15007', just_ghci, ghci_script, ['T15007.script'])
42 test('T15806',     just_ghci, ghci_script, ['T15806.script'])
43 test('T15369',     just_ghci, ghci_script, ['T15369.script'])
44
45 test('T15633a',
46      [extra_files(['tc-plugin-ghci/']),
47       when(opsys('mingw32'), multi_cpu_race),
48       only_ways(['ghci']),
49       pre_cmd('$MAKE -s --no-print-directory -C tc-plugin-ghci package.plugins01 TOP={top}'),
50       extra_hc_opts("-package-db tc-plugin-ghci/pkg.plugins01/local.package.conf -fplugin TcPluginGHCi")
51       ],
52      ghci_script, ['T15633a.script'])
53
54 test('T15633b',
55      [extra_files(['tc-plugin-ghci/']),
56       when(opsys('mingw32'), multi_cpu_race),
57       only_ways(['ghci']),
58       pre_cmd('$MAKE -s --no-print-directory -C tc-plugin-ghci package.plugins01 TOP={top}'),
59       extra_hc_opts("-package-db tc-plugin-ghci/pkg.plugins01/local.package.conf")
60       ],
61      ghci_script, ['T15633b.script'])
62
63 test('T16096', just_ghci, ghci_script, ['T16096.script'])
64 test('T507', just_ghci, ghci_script, ['T507.script'])