[commit: testsuite] master: Fix the T5252 tests (cc30b0c)

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

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

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

commit cc30b0c616486e2efd2b4bc5ff8a903ec9787c2b
Author: Ian Lynagh <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.