From: Eric Wong Date: Wed, 9 Apr 2014 18:12:49 +0000 (+0000) Subject: Makefile.PL: add parallel tests X-Git-Tag: v0.0.0~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=50c8c6bfe77fe0a284cd92555c9ad8facacbb109;p=ssoma-mda.git Makefile.PL: add parallel tests These tests are intended to run in parallel. --- diff --git a/Makefile.PL b/Makefile.PL index 577e5b9..8f10bce 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -37,5 +37,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 }