diff options
author | Nicholas Clark <nick@ccl4.org> | 2022-07-29 21:20:06 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-02-11 07:17:42 +0100 |
commit | 5b62e06d5be1d2208f59b0ba1c5cd039f06e907a (patch) | |
tree | f46371672b0a1880dc053033889f7b8618667004 /Porting | |
parent | 4e75b97c4643b7496ae626f9ded81c653991678c (diff) | |
download | perl-5b62e06d5be1d2208f59b0ba1c5cd039f06e907a.tar.gz |
bisect-runner.pl should "fail" if config.sh is missing with --test-build
Previously it would skip, which meant you couldn't bisect the cause of
some ./Configure failures, which rather defeats the intent of --test-build.
Diffstat (limited to 'Porting')
-rwxr-xr-x | Porting/bisect-runner.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index 16ca048b75..ac50ad7a23 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -1802,8 +1802,10 @@ if ($target =~ /config\.s?h/) { run_report_and_exit(@ARGV); } elsif (!-f 'config.sh') { - # Skip if something went wrong with Configure + report_and_exit(undef, 'PLEASE REPORT BUG', 'could not build', 'config.sh') + if $options{'test-build'}; + # Skip if something went wrong with Configure skip('could not build config.sh'); } |