Test abstracting over a type variable of kind Constraint
[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
15 # -----------------------------------------------------------------------------
16 # Skip everything else if fast is on
17
18 def f(opts):
19   if config.fast:
20         opts.skip = 1
21 setTestOpts(f)
22
23 test('tcrun006', normal, compile_and_run, [''])
24 test('tcrun008', normal, compile_and_run, [''])
25 test('tcrun009', normal, compile_and_run, [''])
26 test('tcrun010', normal, compile_and_run, [''])
27 test('tcrun011', normal, compile_and_run, [''])
28 test('tcrun012', normal, compile_and_run, [''])
29 test('tcrun013', normal, compile_and_run, [''])
30 test('tcrun014', normal, compile_and_run, [''])
31 test('tcrun015', normal, compile_and_run, ['-O'])
32 test('tcrun016', normal, compile_and_run, [''])
33 test('tcrun017', normal, compile_and_run, [''])
34 test('tcrun018', normal, compile_and_run, [''])
35 test('tcrun019', normal, compile_and_run, [''])
36 test('tcrun020', normal, compile_and_run, [''])
37 # Doesn't work with External Core due to datatype with no constructors
38 test('tcrun021', expect_fail_for(['extcore','optextcore']),
39      compile_and_run, ['-package containers'])
40 test('tcrun022', compose(omit_ways(['ghci']),only_compiler_types(['ghc'])), compile_and_run, ['-O'])
41 test('tcrun023', normal, compile_and_run, ['-O'])
42 test('tcrun024', normal, compile_and_run, ['-O'])
43 test('tcrun025', extra_clean(['TcRun025_B.hi', 'TcRun025_B.o']),
44      multimod_compile_and_run, ['tcrun025',''])
45 test('tcrun026', normal, compile_and_run, [''])
46 test('tcrun027', normal, compile_and_run, [''])
47 # Doesn't work with External Core due to datatype with no constructors
48 test('tcrun028', expect_fail_for(['extcore','optextcore']), compile_and_run, [''])
49 test('tcrun029', normal, compile_and_run, [''])
50 test('tcrun030', normal, compile_and_run, [''])
51 test('tcrun031', only_compiler_types(['ghc']), compile_and_run, [''])
52 test('tcrun032', only_compiler_types(['ghc']), compile_and_run, [''])
53 test('tcrun033', only_compiler_types(['ghc']), compile_and_run, [''])
54 test('tcrun034', only_compiler_types(['ghc']), compile_and_run, [''])
55 test('tcrun035', only_compiler_types(['ghc']), compile_fail, [''])
56 test('tcrun036', only_compiler_types(['ghc']), compile_and_run, [''])
57 test('tcrun037', only_compiler_types(['ghc']), compile_and_run, [''])
58
59 test('tcrun038',
60      extra_clean(['TcRun038_B.hi', 'TcRun038_B.o']),
61      multimod_compile_and_run,
62      ['tcrun038',''])
63
64 test('tcrun039', only_compiler_types(['ghc']), compile_and_run, [''])
65 test('tcrun040', normal, compile_and_run, [''])
66 test('tcrun041', omit_ways(['ghci']), compile_and_run, [''])
67 test('tcrun042', normal, compile_and_run, [''])
68 test('tcrun043', normal, compile_and_run, [''])
69 test('tcrun044', normal, compile_and_run, [''])
70 test('tcrun045', normal, compile_and_run, [''])
71 test('tcrun046', normal, compile_and_run, [''])
72
73 test('church', normal, compile_and_run, [''])
74 test('testeq2', normal, compile_and_run, [''])
75 test('T1624', normal, compile_and_run, [''])
76 test('IPRun', normal, compile_and_run, [''])
77
78 # Support files for T1735 are in directory T1735_Help/
79 test('T1735', normal, multimod_compile_and_run, ['T1735',''])
80
81 test('T3731', normal, compile_and_run, [''])
82 test('T3731-short', normal, compile_and_run, [''])
83 test('T3500a', normal, compile_and_run, [''])
84 test('T3500b', normal, compile_and_run, [''])
85 test('T4809', reqlib('mtl'), compile_and_run, [''])
86 test('T2722', normal, compile_and_run, [''])
87 test('mc17', normal, compile_and_run, [''])