summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram <perl-rt@wizbit.be>2022-09-16 20:44:37 +0200
committerTony Cook <tony@develop-help.com>2022-10-24 15:24:56 +1100
commitae361b73121ec56c7bc6997f6436cfac0e3fecd3 (patch)
treeccf286809ea942e2a460ffb51ec4b9a82050517a
parent6e7890ddba1dbde6468dc4f1a558e5269b355e84 (diff)
downloadperl-ae361b73121ec56c7bc6997f6436cfac0e3fecd3.tar.gz
CI/dist-modules: (Ab)use runner debug for verbose
When restarting an Action on GitHub there is an extra checkbox to enable 'debug logging'. This sets the 'RUNNER_DEBUG' environment variable. (Ab)use that environment var as default value for the verbose flag of `make test`.
-rw-r--r--Porting/test-dist-modules.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/test-dist-modules.pl b/Porting/test-dist-modules.pl
index bb67112c30..89e39a4baf 100644
--- a/Porting/test-dist-modules.pl
+++ b/Porting/test-dist-modules.pl
@@ -135,7 +135,7 @@ EOM
system $^X, "Makefile.PL"
and die "$name: Makefile.PL failed\n";
- my $verbose = 0;
+ my $verbose = $github_ci && $ENV{'RUNNER_DEBUG'} ? 1 : 0;
system "make", "test", "TEST_VERBOSE=$verbose"
and die "$name: make test failed\n";