* 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 files changed, 3 insertions(+), 14 deletions(-)
diff --git a/Makefile.am b/Makefile.am index c66ca91..fc37ef1 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 ################################################################ ## -- 1.7.7.3