projects
/
ssoma-mda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
036c332
)
Makefile.PL: add parallel tests
author
Eric Wong
<e@80x24.org>
Wed, 9 Apr 2014 18:12:49 +0000
(18:12 +0000)
committer
Eric Wong
<e@80x24.org>
Wed, 9 Apr 2014 18:12:49 +0000
(18:12 +0000)
These tests are intended to run in parallel.
Makefile.PL
patch
|
blob
|
history
diff --git
a/Makefile.PL
b/Makefile.PL
index 577e5b9d3c15186a70e9820d9ecaae42bfb391f1..8f10bcef545b6623364d267987f5ae2874710ef9 100644
(file)
--- 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
}