From 04bd2fe010b127254fdec51711a9ac22bb865d4c Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Wed, 10 Jul 2024 14:25:07 +1000 Subject: [PATCH] doh --- Porting/test-dist-modules.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Porting/test-dist-modules.pl b/Porting/test-dist-modules.pl index 7a4583240ccd..9d0376e6f045 100644 --- a/Porting/test-dist-modules.pl +++ b/Porting/test-dist-modules.pl @@ -209,12 +209,12 @@ sub test_dist { if (my $cfg = $dist_config{$name}) { push @my_config, @$cfg; } + my @verbose; + push @verbose, "-v" if $verbose; if (!run($^X, "Makefile.PL", @my_config)) { $failed = "Makefile.PL"; die "$name: Makefile.PL failed\n" unless $continue; } - my @verbose; - push @verbose, "-v" if $verbose; elsif (!run("probe", "-b", @verbose, '-e', 'gdb -q -ex r -ex bt -ex q --args')) { $failed = "make test"; die "$name: make test failed\n" unless $continue;