From ae40bd37c79db41d751e3d5300a098c53f95e5c3 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 23 Jan 2009 13:29:55 +0000 Subject: [PATCH] Clean up the test reports Since we override the clean-generic target in order to remove the shell scripts we create for each conformance test unit, we cannot use CLEANFILES to remove the test reports. --- tests/conform/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/conform/Makefile.am b/tests/conform/Makefile.am index 088926967..46eea56fe 100644 --- a/tests/conform/Makefile.am +++ b/tests/conform/Makefile.am @@ -49,9 +49,6 @@ clean-wrappers: rm -f $$unit$(EXEEXT) ; \ done -# we override the clean-generic target to clean up the wrappers -clean-generic: clean-wrappers - # NB: BUILT_SOURCES here a misnomer. We aren't building source, just inserting # a phony rule that will generate symlink scripts for running individual tests BUILT_SOURCES = wrappers @@ -123,4 +120,7 @@ full-report: full-report-generate EXTRA_DIST = ADDING_NEW_TESTS test-launcher.sh -CLEANFILES = $(XML_REPORTS) $(HTML_REPORTS) +# we override the clean-generic target to clean up the wrappers so +# we cannot use CLEANFILES +clean-generic: clean-wrappers + rm -f $(XML_REPORTS) $(HTML_REPORTS)