Merge branch 'master' of http://darcs.haskell.org/testsuite
[ghc.git] / testsuite / tests / typecheck / should_run / all.T
1 # args to compile_and_run are:
2 #       extra compile flags
3 #       extra run flags
4 #       expected process return value, if not zero
5
6 # -----------------------------------------------------------------------------
7 # Pick an arbitrary few to run when 'fast' is on
8
9 test('tcrun001', normal, compile_and_run, [''])
10 test('tcrun002', only_compiler_types(['ghc']), compile_and_run, [''])
11 test('tcrun003', normal, compile_and_run, [''])
12 test('tcrun004', normal, compile_and_run, [''])
13 test('tcrun005', normal, compile_and_run, [''])
14 test('Defer01', normal, compile_and_run, [''])
15
16 # -----------------------------------------------------------------------------
17 # Skip everything else if fast is on
18
19 def f(name, opts):
20   if config.fast:
21         opts.skip = 1
22 setTestOpts(f)
23
24 test('tcrun006', normal, compile_and_run, [''])
25 test('tcrun008', normal, compile_and_run, [''])
26 test('tcrun009', normal, compile_and_run, [''])
27 test('tcrun010', normal, compile_and_run, [''])
28 test('tcrun011', normal, compile_and_run, [''])
29 test('tcrun012', normal, compile_and_run, [''])
30 test('tcrun013', normal, compile_and_run, [''])
31 test('tcrun014', normal, compile_and_run, [''])
32 test('tcrun015', normal, compile_and_run, ['-O'])
33 test('tcrun016', normal, compile_and_run, [''])
34 test('tcrun017', normal, compile_and_run, [''])
35 test('tcrun018', normal, compile_and_run, [''])
36 test('tcrun019', normal, compile_and_run, [''])
37 test('tcrun020', normal, compile_and_run, [''])
38 # Doesn't work with External Core due to datatype with no constructors
39 test('tcrun021', expect_fail_for(['extcore','optextcore']),
40      compile_and_run, ['-package containers'])
41 test('tcrun022', compose(omit_ways(['ghci']),only_compiler_types(['ghc'])), compile_and_run, ['-O'])
42 test('tcrun023', normal, compile_and_run, ['-O'])
43 test('tcrun024', normal, compile_and_run, ['-O'])
44 test('tcrun025', extra_clean(['TcRun025_B.hi', 'TcRun025_B.o']),
45      multimod_compile_and_run, ['tcrun025',''])
46 test('tcrun026', normal, compile_and_run, [''])
47 test('tcrun027', normal, compile_and_run, [''])
48 # Doesn't work with External Core due to datatype with no constructors
49 test('tcrun028', expect_fail_for(['extcore','optextcore']), compile_and_run, [''])
50 test('tcrun029', normal, compile_and_run, [''])
51 test('tcrun030', normal, compile_and_run, [''])
52 test('tcrun031', only_compiler_types(['ghc']), compile_and_run, [''])
53 test('tcrun032', only_compiler_types(['ghc']), compile_and_run, [''])
54 test('tcrun033', only_compiler_types(['ghc']), compile_and_run, [''])
55 test('tcrun034', only_compiler_types(['ghc']), compile_and_run, [''])
56 test('tcrun035', only_compiler_types(['ghc']), compile_fail, [''])
57 test('tcrun036', only_compiler_types(['ghc']), compile_and_run, [''])
58 test('tcrun037', only_compiler_types(['ghc']), compile_and_run, [''])
59
60 test('tcrun038',
61      extra_clean(['TcRun038_B.hi', 'TcRun038_B.o']),
62      multimod_compile_and_run,
63      ['tcrun038',''])
64
65 test('tcrun039', only_compiler_types(['ghc']), compile_and_run, [''])
66 test('tcrun040', normal, compile_and_run, [''])
67 test('tcrun041', omit_ways(['ghci']), compile_and_run, [''])
68 test('tcrun042', normal, compile_and_run, [''])
69 test('tcrun043', normal, compile_and_run, [''])
70 test('tcrun044', normal, compile_and_run, [''])
71 test('tcrun045', normal, compile_and_run, [''])
72 test('tcrun046', normal, compile_and_run, [''])
73 test('tcrun047', compose(omit_ways(['ghci']),only_compiler_types(['ghc'])), compile_and_run, [''])
74 test('tcrun048', compose(omit_ways(['ghci']),only_compiler_types(['ghc'])), compile_and_run, [''])
75 test('tcrun049', compose(omit_ways(['ghci']),only_compiler_types(['ghc'])), compile_and_run, [''])
76 test('tcrun050', compose(omit_ways(['ghci']),only_compiler_types(['ghc'])), compile_and_run, [''])
77 test('tcrun051', compose(omit_ways(['ghci']),only_compiler_types(['ghc'])), compile_and_run, [''])
78
79 test('church', normal, compile_and_run, [''])
80 test('testeq2', normal, compile_and_run, [''])
81 test('T1624', normal, compile_and_run, [''])
82 test('IPRun', normal, compile_and_run, [''])
83
84 # Support files for T1735 are in directory T1735_Help/
85 test('T1735', normal, multimod_compile_and_run, ['T1735',''])
86
87 test('T3731', normal, compile_and_run, [''])
88 test('T3731-short', normal, compile_and_run, [''])
89 test('T3500a', normal, compile_and_run, [''])
90 test('T3500b', normal, compile_and_run, [''])
91 test('T4809', reqlib('mtl'), compile_and_run, [''])
92 test('T2722', normal, compile_and_run, [''])
93 test('mc17', normal, compile_and_run, [''])
94 test('T5759', normal, compile_and_run, [''])
95 test('T5573a', compose(omit_ways(['ghci']),only_compiler_types(['ghc'])), compile_and_run, [''])
96 test('T5573b', compose(omit_ways(['ghci']),only_compiler_types(['ghc'])), compile_and_run, [''])
97 test('T7023', normal, compile_and_run, [''])
98 test('T7126', normal, compile_and_run, [''])
99 test('T6117', expect_broken(6117), compile_and_run, [''])
100 test('T5751', normal, compile_and_run, [''])
101 test('T5913', normal, compile_and_run, [''])