diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.PL | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,4 @@ +/config.mak /Makefile.old /pm_to_blib /MYMETA.* diff --git a/Makefile.PL b/Makefile.PL index 1948848f..448c79c3 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -36,6 +36,10 @@ WriteMakefile( sub MY::postamble { <<EOF; +# support using eatmydata to speed up tests (apt-get install eatmydata): +# https://www.flamingspork.com/projects/libeatmydata/ +EATMYDATA = +-include config.mak -include Documentation/include.mk my_syntax := \$(addsuffix .syntax, $PM_FILES \$(EXE_FILES)) @@ -47,7 +51,7 @@ N := \$(shell echo \$\$(( \$\$(nproc 2>/dev/null || echo 2) + 1))) syntax:: \$(my_syntax) check:: pure_all - prove -lv -j\$(N) + \$(EATMYDATA) prove -lv -j\$(N) EOF } |