[commit: testsuite] master: Fix cleanup for some tests. (17a6f20)

Paolo Capriotti p.capriotti at gmail.com
Wed Jun 27 19:31:21 CEST 2012


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/17a6f2052c4d0c37c8d3c8e81f7dfed4bd8904bc

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

commit 17a6f2052c4d0c37c8d3c8e81f7dfed4bd8904bc
Author: Paolo Capriotti <p.capriotti at gmail.com>
Date:   Wed Jun 27 18:29:08 2012 +0100

    Fix cleanup for some tests.

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

 tests/plugins/simple-plugin/Makefile |    3 ++-
 tests/quasiquotation/T4491/test.T    |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/plugins/simple-plugin/Makefile b/tests/plugins/simple-plugin/Makefile
index 73a7e33..5bbac56 100644
--- a/tests/plugins/simple-plugin/Makefile
+++ b/tests/plugins/simple-plugin/Makefile
@@ -6,10 +6,11 @@ LOCAL_PKGCONF=local.package.conf
 PKG_NAME=simple-plugin
 
 clean:
-	rm setup
+	rm -f setup
 	rm -f $(LOCAL_PKGCONF)
 	rm -rf dist
 	rm -rf install
+	rm -f Setup.hi Setup.o
 
 PREFIX := $(abspath install)
 $(eval $(call canonicalise,PREFIX))
diff --git a/tests/quasiquotation/T4491/test.T b/tests/quasiquotation/T4491/test.T
index 7d02388..b62370a 100644
--- a/tests/quasiquotation/T4491/test.T
+++ b/tests/quasiquotation/T4491/test.T
@@ -5,6 +5,7 @@ test('T4491',
       # in the prof or dyn ways, due to the TH use, so for now we just
       # omit the other ways
       omit_ways(['profasm','profthreaded','dyn']),
-      only_compiler_types(['ghc'])
+      only_compiler_types(['ghc']),
+      extra_clean(['A.hi', 'A.o'])
      ],
      compile_and_run, [''])





More information about the Cvs-ghc mailing list