prt-auf: loosen the pattern match criterion for determining failure from a build log

This commit is contained in:
John McQuah 2022-07-24 20:50:22 -04:00
parent 986c2e115f
commit 00f280b794

View File

@ -729,7 +729,7 @@ sub up_inst { # returns scalar references to five arrays
sub log_failure {
my $lf=shift; local $/=""; my $failed=0;
open(FH,$lf) or return 0;
while (<FH>) { $failed=1 if m/ERROR: Unsuccessful build!$/; }
while (<FH>) { $failed=1 if m/=====> ERROR: /; }
close(FH); return $failed;
}