From: Lukas Mai Date: Sun, 3 Mar 2013 00:58:09 +0000 (+0100) Subject: multitest more perl versions; also list successes X-Git-Tag: v1.0101_01~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8fed347c27a7a949bf905a2d885be4b3371d1347;p=p5sagit%2FFunction-Parameters.git multitest more perl versions; also list successes --- diff --git a/GNUmakefile b/GNUmakefile index 653125c..121469e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -4,11 +4,15 @@ CCFLAGS := -DDEVEL $(CCFLAGS) .PHONY: multitest multitest: - f=''; \ - for i in "$$PERLBREW_ROOT"/perls/*5.1[468]*/bin/perl perl; do \ + f=''; k=''; \ + for i in "$$PERLBREW_ROOT"/perls/*5.1[46789]*/bin/perl perl; do \ echo "Trying $$i ..."; \ - $$i Makefile.PL && make && make test; \ - [ $$? = 0 ] || f="$$f $$i"; \ + if $$i Makefile.PL && make && make test; then \ + k="$$k $$i"; \ + else \ + f="$$f $$i"; \ + fi; \ echo "... done (trying $$i)"; \ done; \ + [ -z "$$k" ] || { echo "OK: $$k" >&2; } ; \ [ -z "$$f" ] || { echo "Failed:$$f" >&2; exit 1; }