From eb4ed924e9f8075ed134fbd590d390e208f4120f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 18 Sep 2023 10:15:12 +0000 Subject: rename t/run.perl to xt/check-run This allows us to get rid of some duplication in our Makefile --- Makefile.PL | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'Makefile.PL') diff --git a/Makefile.PL b/Makefile.PL index 97e00395..9dc18b5c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -235,13 +235,16 @@ check-each :: pure_all \$(EATMYDATA) \$(PROVE) --state=save -bvw -j\$(N) -@\$(check_manifest) -# 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-run relies "--state=save" in check-each for best performance +check-run :: check-man + +# n.b. while `-' isn't specified as an allowed make(1posix) macro name, +# GNU and *BSD both allow it. +check-run_T_ARGS = -j\$(N) -check-debris :: pure_all - PERL5LIB="\$\$PWD"/blib/lib \$(PROVE) -bvw xt/\$@.t +check-debris check-run :: pure_all + \$(EATMYDATA) \$(PROVE) -bvw xt/\$@.t :: \$(\$\@_T_ARGS) + -@\$(check_manifest) check :: check-each -- cgit v1.2.3-24-ge0c7