prt-auf: loosen the pattern match criterion for determining failure from a build log
This commit is contained in:
parent
986c2e115f
commit
00f280b794
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user