Attempt to improve cleaning
[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', extra_clean(['T5462Yes1/GFunctor.hi'])
23     , multimod_compile_and_run, ['T5462Yes1', '-iGEq -iGEnum -iGFunctor -outputdir=out_T5462Yes1'])
24 test('T5462Yes2', extra_clean(['T5462Yes2/GFunctor.hi'])
25     , multimod_compile_and_run, ['T5462Yes2', '-iGFunctor -outputdir=out_T5462Yes2'])
26 test('T5462No1', extra_clean(['T5462No1/GFunctor.hi'])
27      , multimod_compile_fail, ['T5462No1', '-iGFunctor -outputdir=T5462No1'])
28
29 test('T5884',      normal, compile, [''])
30 test('GenNewtype', normal, compile_and_run, [''])
31
32 test('GenDerivOutput1_0', normal, compile, ['-dsuppress-uniques'])
33 test('GenDerivOutput1_1', normal, compile, ['-dsuppress-uniques'])
34
35 test('T7878', extra_clean(['T7878A.o'     ,'T7878A.hi'
36                           ,'T7878A.o-boot','T7878A.hi-boot'
37                           ,'T7878B.o'     ,'T7878B.hi']), 
38               multimod_compile, ['T7878', '-v0'])
39
40 test('T8468', normal, compile_fail, [''])
41 test('T8479', normal, compile, [''])
42 test('T9563', normal, compile, [''])