summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/all.T
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-12-23 15:45:09 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2014-12-23 16:01:29 +0000
commitc3394e0d2cce4bbaa034dc77473add151781ef93 (patch)
tree36840b608f4a78441fe911b840b1cad3b1f8d72c /testsuite/tests/generics/all.T
parent679a661890c9e5a218d8328658cae2b71d367024 (diff)
downloadhaskell-c3394e0d2cce4bbaa034dc77473add151781ef93.tar.gz
Attempt to improve cleaning
I found several tests that failed when the interface file format changed, due to leftover .hi file droppings. I'm not sure I've done this right, but it should be a bit better
Diffstat (limited to 'testsuite/tests/generics/all.T')
-rw-r--r--testsuite/tests/generics/all.T9
1 files changed, 6 insertions, 3 deletions
diff --git a/testsuite/tests/generics/all.T b/testsuite/tests/generics/all.T
index d959d0c6c8..b5050e458a 100644
--- a/testsuite/tests/generics/all.T
+++ b/testsuite/tests/generics/all.T
@@ -19,9 +19,12 @@ test('GenCannotDoRep1_6', normal, compile_fail, [''])
test('GenCannotDoRep1_7', normal, compile_fail, [''])
test('GenCannotDoRep1_8', normal, compile_fail, [''])
-test('T5462Yes1', normal, multimod_compile_and_run, ['T5462Yes1', '-iGEq -iGEnum -iGFunctor -outputdir=out_T5462Yes1'])
-test('T5462Yes2', normal, multimod_compile_and_run, ['T5462Yes2', '-iGFunctor -outputdir=out_T5462Yes2'])
-test('T5462No1', normal, multimod_compile_fail, ['T5462No1', '-iGFunctor -outputdir=T5462No1'])
+test('T5462Yes1', extra_clean(['T5462Yes1/GFunctor.hi'])
+ , multimod_compile_and_run, ['T5462Yes1', '-iGEq -iGEnum -iGFunctor -outputdir=out_T5462Yes1'])
+test('T5462Yes2', extra_clean(['T5462Yes2/GFunctor.hi'])
+ , multimod_compile_and_run, ['T5462Yes2', '-iGFunctor -outputdir=out_T5462Yes2'])
+test('T5462No1', extra_clean(['T5462No1/GFunctor.hi'])
+ , multimod_compile_fail, ['T5462No1', '-iGFunctor -outputdir=T5462No1'])
test('T5884', normal, compile, [''])
test('GenNewtype', normal, compile_and_run, [''])