X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=GNUmakefile;h=653125c723c66e6844d910f8566839b2c008b352;hb=8c4ca5488efd58ba287abb22a5b24aea9cb4f8f6;hp=035aaa0d66f3ce431ab60ed7c5880c273d66d39d;hpb=7f057ce7550c1d562b25a579ae8deaf34db73685;p=p5sagit%2FFunction-Parameters.git diff --git a/GNUmakefile b/GNUmakefile index 035aaa0..653125c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -2,5 +2,13 @@ include ./Makefile CCFLAGS := -DDEVEL $(CCFLAGS) -Makefile: Makefile.PL - perl Makefile.PL +.PHONY: multitest +multitest: + f=''; \ + for i in "$$PERLBREW_ROOT"/perls/*5.1[468]*/bin/perl perl; do \ + echo "Trying $$i ..."; \ + $$i Makefile.PL && make && make test; \ + [ $$? = 0 ] || f="$$f $$i"; \ + echo "... done (trying $$i)"; \ + done; \ + [ -z "$$f" ] || { echo "Failed:$$f" >&2; exit 1; }