X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=GNUmakefile;fp=GNUmakefile;h=02cadbc300ba23df7eaf9ae7f5a2db47cab674d1;hb=88214f05117b24fc43fa72de5b23dfc7cba3f231;hp=6b3454db0b32fdaf2d66c6e4cf5f05fbe9a7249e;hpb=003e592d5d10e913a149cf5beab1a38797dad184;p=p5sagit%2FFunction-Parameters.git diff --git a/GNUmakefile b/GNUmakefile index 6b3454d..02cadbc 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,3 +1,14 @@ include ./Makefile CCFLAGS := -DDEVEL $(CCFLAGS) + +.PHONY: multitest +multitest: + f=''; \ + for i in ~/perl5/perlbrew/perls/perl-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; }