automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {master} build: simplify our top-level "recheck" target


From: Stefano Lattarini
Subject: [FYI] {master} build: simplify our top-level "recheck" target
Date: Wed, 18 Jan 2012 14:16:19 +0100

* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]