]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Makefile.PL
Makefile.PL: add parallel test target
[public-inbox.git] / Makefile.PL
index 3e4f64d3d859bf54d72d7516608595a44b0a4bf8..313161d417fdfc7608661d464eff0385202c96e9 100644 (file)
@@ -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
 }