From: Eric Wong Date: Wed, 9 Apr 2014 18:06:34 +0000 (+0000) Subject: Makefile.PL: add parallel test target X-Git-Tag: v1.0.0~1291 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=789b6e9c6de8012b556eb6d5345339eaf61f1989 Makefile.PL: add parallel test target These tests were designed to run in parallel. --- diff --git a/Makefile.PL b/Makefile.PL index 3e4f64d3..313161d4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -47,5 +47,9 @@ rsync-docs: $(MAKE) gz-docs rsync --chmod=Fugo=r -av $(gz_docs) $(docs) $(RSYNC_DEST) +N = $(shell echo $$(( $$(nproc 2>/dev/null || echo 2) + 1))) +check:: pure_all + prove -lv -j$(N) + EOF }