From cff337e603794fac08d87e870b5a5cecb0491d40 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 18 Jan 2012 14:15:03 +0100 Subject: [PATCH] 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. --- Makefile.am | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) 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 ################################################################ ## -- 2.47.2