Allow ($) to return an unlifted type (Trac #8739)
[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', [omit_ways(['ghci']),only_compiler_types(['ghc'])],
42      compile_and_run, ['-O'])
43 test('tcrun023', normal, compile_and_run, ['-O'])
44 test('tcrun024', normal, compile_and_run, ['-O'])
45 test('tcrun025', extra_clean(['TcRun025_B.hi', 'TcRun025_B.o']),
46      multimod_compile_and_run, ['tcrun025',''])
47 test('tcrun026', normal, compile_and_run, [''])
48 test('tcrun027', normal, compile_and_run, [''])
49 # Doesn't work with External Core due to datatype with no constructors
50 test('tcrun028', expect_fail_for(['extcore','optextcore']), compile_and_run, [''])
51 test('tcrun029', normal, compile_and_run, [''])
52 test('tcrun030', normal, compile_and_run, [''])
53 test('tcrun031', only_compiler_types(['ghc']), compile_and_run, [''])
54 test('tcrun032', only_compiler_types(['ghc']), compile_and_run, [''])
55 test('tcrun033', only_compiler_types(['ghc']), compile_and_run, [''])
56 test('tcrun034', only_compiler_types(['ghc']), compile_and_run, [''])
57 test('tcrun035', only_compiler_types(['ghc']), compile_fail, [''])
58 test('tcrun036', only_compiler_types(['ghc']), compile_and_run, [''])
59 test('tcrun037', only_compiler_types(['ghc']), compile_and_run, [''])
60
61 test('tcrun038',
62      extra_clean(['TcRun038_B.hi', 'TcRun038_B.o']),
63      multimod_compile_and_run,
64      ['tcrun038',''])
65
66 test('tcrun039', only_compiler_types(['ghc']), compile_and_run, [''])
67 test('tcrun040', normal, compile_and_run, [''])
68 test('tcrun041', omit_ways(['ghci']), compile_and_run, [''])
69 test('tcrun042', normal, compile_and_run, [''])
70 test('tcrun043', normal, compile_and_run, [''])
71 test('tcrun044', normal, compile_and_run, [''])
72 test('tcrun045', normal, compile_and_run, [''])
73 test('tcrun046', normal, compile_and_run, [''])
74 test('tcrun047', [omit_ways(['ghci']), only_compiler_types(['ghc'])],
75      compile_and_run, [''])
76 test('tcrun048', [omit_ways(['ghci']), only_compiler_types(['ghc'])],
77      compile_and_run, [''])
78 test('tcrun049', [omit_ways(['ghci']), only_compiler_types(['ghc'])],
79      compile_and_run, [''])
80 test('tcrun050', [omit_ways(['ghci']), only_compiler_types(['ghc'])],
81      compile_and_run, [''])
82 test('tcrun051', [omit_ways(['ghci']), only_compiler_types(['ghc'])],
83      compile_and_run, [''])
84
85 test('church', normal, compile_and_run, [''])
86 test('testeq2', normal, compile_and_run, [''])
87 test('T1624', normal, compile_and_run, [''])
88 test('IPRun', normal, compile_and_run, [''])
89
90 # Support files for T1735 are in directory T1735_Help/
91 test('T1735', normal, multimod_compile_and_run, ['T1735',''])
92
93 test('T3731', normal, compile_and_run, [''])
94 test('T3731-short', normal, compile_and_run, [''])
95 test('T3500a', normal, compile_and_run, [''])
96 test('T3500b', normal, compile_and_run, [''])
97 test('T4809', reqlib('mtl'), compile_and_run, [''])
98 test('T2722', normal, compile_and_run, [''])
99 test('mc17', normal, compile_and_run, [''])
100 test('T5759', normal, compile_and_run, [''])
101 test('T5573a', [omit_ways(['ghci']), only_compiler_types(['ghc'])],
102      compile_and_run, [''])
103 test('T5573b', [omit_ways(['ghci']), only_compiler_types(['ghc'])],
104      compile_and_run, [''])
105 test('T7023', normal, compile_and_run, [''])
106 test('T7126', normal, compile_and_run, [''])
107 test('T6117', normal, compile_and_run, [''])
108 test('T5751', normal, compile_and_run, [''])
109 test('T5913', normal, compile_and_run, [''])
110 test('T7748', normal, compile_and_run, [''])
111 test('TcNullaryTC', when(compiler_lt('ghc', '7.7'), skip), compile_and_run, [''])
112 test('T7861', exit_code(1), compile_and_run, [''])
113 test('TcTypeNatSimpleRun', normal, compile_and_run, [''])
114 test('TcCoercible', when(compiler_lt('ghc', '7.7'), skip), compile_and_run, [''])
115 test('T8119', normal, ghci_script, ['T8119.script'])
116 test('T8492', normal, compile_and_run, [''])
117 test('T8739', normal, compile_and_run, [''])