[commit: ghc] wip/T5462: Do not cleanup GFunctor.o (80111e6)

git at git.haskell.org git at git.haskell.org
Wed Nov 12 10:48:18 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T5462
Link       : http://ghc.haskell.org/trac/ghc/changeset/80111e68dfa2283dcf5f744a1c6ca46c05e9a26c/ghc

>---------------------------------------------------------------

commit 80111e68dfa2283dcf5f744a1c6ca46c05e9a26c
Author: Jose Pedro Magalhaes <jpm at cs.ox.ac.uk>
Date:   Wed Nov 12 10:46:19 2014 +0000

    Do not cleanup GFunctor.o
    
    T5462No1 removes GFunctor.hi and GFunctor.o as it only has to
    fail to compile, but T5462Yes might still be using them (if we're
    running the testsuite in parallel), so it's a bad idea to delete.


>---------------------------------------------------------------

80111e68dfa2283dcf5f744a1c6ca46c05e9a26c
 testsuite/tests/generics/all.T | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite/tests/generics/all.T b/testsuite/tests/generics/all.T
index abe28c0..656fac5 100644
--- a/testsuite/tests/generics/all.T
+++ b/testsuite/tests/generics/all.T
@@ -20,8 +20,8 @@ test('GenCannotDoRep1_7', normal, compile_fail, [''])
 test('GenCannotDoRep1_8', normal, compile_fail, [''])
 
 test('T5462Yes', normal, multimod_compile_and_run, ['T5462Yes', '-iGEq -iGEnum -iGFunctor'])
-test('T5462No1', extra_clean(['GFunctor/GFunctor.hi', 'GFunctor/GFunctor.o']), multimod_compile_fail, ['T5462No1', '-iGFunctor'])
-test('T5462No2', extra_clean(['GFunctor/GFunctor.hi', 'GFunctor/GFunctor.o']), multimod_compile_fail, ['T5462No2', '-iGFunctor'])
+test('T5462No1', normal, multimod_compile_fail, ['T5462No1', '-iGFunctor'])
+test('T5462No2', normal, multimod_compile_fail, ['T5462No2', '-iGFunctor'])
 
 test('T5884',      normal, compile, [''])
 test('GenNewtype', normal, compile_and_run, [''])



More information about the ghc-commits mailing list