From c3394e0d2cce4bbaa034dc77473add151781ef93 Mon Sep 17 00:00:00 2001 From: Simon Peyton Jones Date: Tue, 23 Dec 2014 15:45:09 +0000 Subject: 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 --- testsuite/tests/generics/all.T | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'testsuite/tests/generics/all.T') 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, ['']) -- cgit v1.2.1