diff options
author | Eric Wong <e@80x24.org> | 2023-09-16 03:21:21 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-09-16 12:12:51 +0000 |
commit | 217b26d007a7d9be3f0ae768e32a8a3e4807f27c (patch) | |
tree | d3b006f4a51bb99ea68a4fdc02e379f20e772756 /Makefile.PL | |
parent | 584d2d5fc4fb458792aef93c9802126d0722dfb1 (diff) | |
download | public-inbox-217b26d007a7d9be3f0ae768e32a8a3e4807f27c.tar.gz |
This non-parallelized target is useful for noticing core dumps and preventing them from being clobbered as we run the test suite. It will also notice leftover temporary files and directories. This make target was used on OpenBSD 7.3 to develop at least two recent fixes: e281363ba937 (lei: ensure we run DESTROY|END at daemon exit w/ kqueue) 759885e60e59 (lei: ensure --stdin sets %ENV and $current_lei) I considered using a per-test TMPDIR for this to enable parallelization, but on-filesystem UNIX sockets won't work with excessively long path names.
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.PL b/Makefile.PL index a04a3b75..5b7914dc 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -235,12 +235,14 @@ check-each :: pure_all \$(EATMYDATA) \$(PROVE) --state=save -bvw -j\$(N) -@\$(check_manifest) -# lightly-tested way to run tests, relies "--state=save" in check-each -# for best performance +# this relies "--state=save" in check-each for best performance check-run :: pure_all check-man \$(EATMYDATA) \$(PROVE) -bvw t/run.perl :: -j\$(N) -@\$(check_manifest) +check-debris :: pure_all + PERL5LIB="\$\$PWD"/blib/lib \$(PROVE) -bvw xt/\$@.t + check :: check-each lib/PublicInbox/UserContent.pm :: contrib/css/216dark.css |