[commit: ghc] wip/validate: Make annotations test case cleaning less aggressive (1f85f3f)

git at git.haskell.org git at git.haskell.org
Tue Dec 2 22:56:40 UTC 2014


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

On branch  : wip/validate
Link       : http://ghc.haskell.org/trac/ghc/changeset/1f85f3fcada2a41a2985f72a2adff9ec90da879e/ghc

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

commit 1f85f3fcada2a41a2985f72a2adff9ec90da879e
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Tue Dec 2 23:56:52 2014 +0100

    Make annotations test case cleaning less aggressive
    
    cf. a4ec0c92


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

1f85f3fcada2a41a2985f72a2adff9ec90da879e
 testsuite/tests/ghc-api/annotations/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/testsuite/tests/ghc-api/annotations/Makefile b/testsuite/tests/ghc-api/annotations/Makefile
index d5c7bd4..821aaa0 100644
--- a/testsuite/tests/ghc-api/annotations/Makefile
+++ b/testsuite/tests/ghc-api/annotations/Makefile
@@ -5,15 +5,18 @@ include $(TOP)/mk/test.mk
 clean:
 	rm -f *.o *.hi
 
-annotations: clean
+annotations: 
+	rm -f annotations.o annotations.hi
 	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc annotations
 	./annotations "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
 
-parseTree: clean
+parseTree: 
+	rm -f parseTree.o parseTree.hi
 	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc parseTree
 	./parseTree "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
 
-comments: clean
+comments: 
+	rm -f comments.o comments.hi
 	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc comments
 	./comments "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
 



More information about the ghc-commits mailing list