From 789b6e9c6de8012b556eb6d5345339eaf61f1989 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 9 Apr 2014 18:06:34 +0000 Subject: [PATCH] Makefile.PL: add parallel test target These tests were designed to run in parallel. --- Makefile.PL | 4 ++++ 1 file changed, 4 insertions(+) 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 } -- 2.44.0