Testsuite: add/fix cleanup for certain tests
[ghc.git] / testsuite / tests / generics / all.T
1 setTestOpts(only_compiler_types(['ghc']))
2
3 test('GenCanDoRep0',    normal, compile, [''])
4 test('GenCanDoRep1',    normal, compile, [''])
5 test('GenDerivOutput',  normal, compile, ['-dsuppress-uniques'])
6
7 test('GenShouldFail0',  normal, compile_fail, [''])
8 test('GenCannotDoRep0_0', normal, compile_fail, [''])
9 test('GenCannotDoRep0_1', normal, compile_fail, [''])
10 test('GenCannotDoRep0_2', normal, compile_fail, [''])
11
12 test('GenShouldFail1_0',  normal, compile_fail, [''])
13 test('GenCannotDoRep1_0', normal, compile_fail, [''])
14 test('GenCannotDoRep1_1', normal, compile_fail, [''])
15 test('GenCannotDoRep1_2', normal, compile_fail, [''])
16 test('GenCannotDoRep1_3', normal, compile_fail, [''])
17 test('GenCannotDoRep1_4', normal, compile_fail, [''])
18 test('GenCannotDoRep1_6', normal, compile_fail, [''])
19 test('GenCannotDoRep1_7', normal, compile_fail, [''])
20 test('GenCannotDoRep1_8', normal, compile_fail, [''])
21
22 test('T5462Yes1', outputdir('out_T5462Yes1')
23     , multimod_compile_and_run, ['T5462Yes1', '-iGEq -iGEnum -iGFunctor'])
24 test('T5462Yes2', outputdir('out_T5462Yes2')
25     , multimod_compile_and_run, ['T5462Yes2', '-iGFunctor'])
26 test('T5462No1', outputdir('out_T5462No1')
27     , multimod_compile_fail, ['T5462No1', '-iGFunctor'])
28
29 test('T5884',      extra_clean(['T5884Other.o', 'T5884Other.hi'])
30     , multimod_compile, ['T5884Other', '-v0'])
31 test('GenNewtype', normal, compile_and_run, [''])
32
33 test('GenDerivOutput1_0', normal, compile, ['-dsuppress-uniques'])
34 test('GenDerivOutput1_1', normal, compile, ['-dsuppress-uniques'])
35
36 test('T7878', extra_clean(['T7878A.o'     ,'T7878A.hi'
37                           ,'T7878A.o-boot','T7878A.hi-boot'
38                           ,'T7878B.o'     ,'T7878B.hi']), 
39               multimod_compile, ['T7878', '-v0'])
40
41 test('T8468', normal, compile_fail, [''])
42 test('T8479', normal, compile, [''])
43 test('T9563', normal, compile, [''])
44 test('T10030', normal, compile_and_run, [''])