diff options
author | Nicholas Clark <nick@ccl4.org> | 2022-08-02 08:20:11 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-02-11 07:17:42 +0100 |
commit | 468e1a1ab096385be0400fb519a0703c13ba29bb (patch) | |
tree | 9a3ac27d9b2da0b0e8ba496ccc510eeb2d21be11 /Porting | |
parent | 839626ebadc11330c5c63b7db5508f403a6d75e1 (diff) | |
download | perl-468e1a1ab096385be0400fb519a0703c13ba29bb.tar.gz |
bisect-runner.pl must stop Configure looping on "does not exit"
This only affects a small range of commits in development releases, but
without this change they can loop infinitely, rather than correctly skipping
(or failing a build test). An infinite loop (with terminal output) is
extremely unhelpful.
Diffstat (limited to 'Porting')
-rwxr-xr-x | Porting/bisect-runner.pl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index 0d32799134..b825b9fe18 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -2507,6 +2507,18 @@ index 4b55fa6..60c3c64 100755 EOPATCH } + if ($major < 6) { + edit_file('Configure', sub { + my $code = shift; + # This will cause a build failure, but it will stop + # Configure looping endlessly trying to get a different + # answer: + $code =~ s{(dflt=)n(\n\s+rp="Function \$ans does not exist)} + {$1y$2}; + return $code; + }); + } + if ($major < 8 && $^O eq 'aix') { edit_file('Configure', sub { my $code = shift; |