[commit: ghc] master: Make ghc-api cleaning less aggressive. (a4ec0c9)

git at git.haskell.org git at git.haskell.org
Mon Sep 1 10:06:42 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a4ec0c9227b40837eefa9b7c80d6028162b80f35/ghc

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

commit a4ec0c9227b40837eefa9b7c80d6028162b80f35
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Mon Sep 1 11:16:15 2014 +0200

    Make ghc-api cleaning less aggressive.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


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

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

diff --git a/testsuite/tests/ghc-api/Makefile b/testsuite/tests/ghc-api/Makefile
index 855b774..0900dee 100644
--- a/testsuite/tests/ghc-api/Makefile
+++ b/testsuite/tests/ghc-api/Makefile
@@ -5,15 +5,18 @@ include $(TOP)/mk/test.mk
 clean:
 	rm -f *.o *.hi
 
-T6145: clean
+T6145:
+	rm -f T6145.o T6145.hi
 	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc T6145
 	./T6145 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
 
-T8639_api: clean
+T8639_api:
+	rm -f T8639_api.o T8639_api.hi
 	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc T8639_api
 	./T8639_api "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
 
-T8628: clean
+T8628:
+	rm -f T8628.o T8628.hi
 	'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc T8628
 	./T8628 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
 



More information about the ghc-commits mailing list