From: Stefano Lattarini Date: Wed, 18 Jan 2012 13:15:03 +0000 (+0100) Subject: build: simplify our top-level "recheck" target X-Git-Tag: ng-0.5a~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cff337e603794fac08d87e870b5a5cecb0491d40;p=thirdparty%2Fautomake.git build: simplify our top-level "recheck" target * Makefile.am (recheck): Now that all the test scripts are in the 'tests/' directory, its recipe can be greatly simplified, as we don't need to deal with recursion in multiple subdirectories anymore. --- diff --git a/Makefile.am b/Makefile.am index c66ca9187..fc37ef106 100644 --- a/Makefile.am +++ b/Makefile.am @@ -105,21 +105,10 @@ INSTALL: lib/INSTALL installcheck-local: am_running_installcheck=yes $(MAKE) $(AM_MAKEFLAGS) check -## recheck: convenience proxy target for the test suites. -.PHONY: recheck +# Convenience proxy target for the test suites. recheck: - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - for subdir in $(TEST_SUBDIRS); do \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@) \ - || eval $$failcom; \ - done; \ - test -z "$$fail" + $(am__cd) tests && $(MAKE) $(AM_MAKEFLAGS) $@ +.PHONY: recheck ################################################################ ##