From: Jason Etheridge Date: Wed, 10 Jan 2018 04:24:22 +0000 (-0500) Subject: increment error_count upon encountering ERROR LOG: X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=23d803c360c7781b4d50d4d733ea26dc8068d748;p=working%2Frandom.git increment error_count upon encountering ERROR LOG: Signed-off-by: Jason Etheridge --- diff --git a/qa/test_output_webifier.pl b/qa/test_output_webifier.pl index 681873344..3afa8f4f6 100755 --- a/qa/test_output_webifier.pl +++ b/qa/test_output_webifier.pl @@ -39,6 +39,7 @@ while (my $line = <>) { $prev_subpage = $subpage; $subpage = $1; $state = 'outputting'; + print STDOUT "outputting $prev_subpage with error_count = $error_count\n"; print_pass_or_fail($prev_subpage); $error_count = 0; $subpage_count++; @@ -65,6 +66,7 @@ while (my $line = <>) { || $line =~ /\* WARNING/ || $line =~ /\[ERR/ || $line =~ /ERROR:/ + || $line =~ /ERROR LOG:/ || $line =~ /Please install/ ) { $class .= 'notok '; @@ -150,7 +152,7 @@ sub print_pass_or_fail { my $subpage = shift; my $exception = {}; # keyed on subpage, value = # of expected errors $exception{'Log Output: osrfsys.log'} = 3; # open-ils.cstore ERROR from live_t/08-lp1366964-libdbi-error.t (and related) - $exception{'Running Evergreen browser client build/test'} = 6; # Cannot connect to offline DB: Error: http://google.github.io/lovefield/error_lookup/src/error_lookup.html + $exception{'Running Evergreen browser client build/test'} = 7; # Cannot connect to offline DB: Error: http://google.github.io/lovefield/error_lookup/src/error_lookup.html if (! defined $exception{$subpage}) { $exception{$subpage} = 0; }