Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/cc30b0c616486e2efd2b4bc5ff8a903ec9787c2b

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

commit cc30b0c616486e2efd2b4bc5ff8a903ec9787c2b
Author: Ian Lynagh <i...@well-typed.com>
Date:   Wed Oct 3 18:02:30 2012 +0100

    Fix the T5252 tests
    
    They could remove each others .o/.hi files when run in parallel.

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

 tests/deSugar/should_compile/Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/deSugar/should_compile/Makefile 
b/tests/deSugar/should_compile/Makefile
index f732783..792d4e7 100644
--- a/tests/deSugar/should_compile/Makefile
+++ b/tests/deSugar/should_compile/Makefile
@@ -3,12 +3,14 @@ include $(TOP)/mk/boilerplate.mk
 include $(TOP)/mk/test.mk
 
 T5252:
-       $(RM) -f T5252*.hi T5252*.o
+       $(RM) -f T5252.hi  T5252.o
+       $(RM) -f T5252a.hi T5252a.o
        '$(TEST_HC)' $(TEST_HC_OPTS) -c T5252a.hs 
        '$(TEST_HC)' $(TEST_HC_OPTS) -c T5252.hs
 
 # Failed when compiled *without* optimisation
 T5252Take2:
-       $(RM) -f T5252*.hi T5252*.o
+       $(RM) -f T5252Take2.hi  T5252Take2.o
+       $(RM) -f T5252Take2a.hi T5252Take2a.o
        '$(TEST_HC)' $(TEST_HC_OPTS) -c T5252Take2a.hs 
        '$(TEST_HC)' $(TEST_HC_OPTS) -c T5252Take2.hs



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to