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

git at git.haskell.org git at git.haskell.org
Fri Nov 14 16:50:59 UTC 2014


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

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

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

commit d2dfe4ac7c8264a8bcce733107e6d1bcdaabcb41
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.


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

d2dfe4ac7c8264a8bcce733107e6d1bcdaabcb41
 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