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.
This commit is contained in:
Emmanuele Bassi 2009-01-23 13:29:55 +00:00
parent 915d9ec7ca
commit ae40bd37c7

View File

@ -49,9 +49,6 @@ clean-wrappers:
rm -f $$unit$(EXEEXT) ; \ rm -f $$unit$(EXEEXT) ; \
done 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 # 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 # a phony rule that will generate symlink scripts for running individual tests
BUILT_SOURCES = wrappers BUILT_SOURCES = wrappers
@ -123,4 +120,7 @@ full-report: full-report-generate
EXTRA_DIST = ADDING_NEW_TESTS test-launcher.sh 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)