increment error_count upon encountering ERROR LOG:
authorJason Etheridge <jason@esilibrary.com>
Wed, 10 Jan 2018 04:24:22 +0000 (23:24 -0500)
committerJason Etheridge <jason@esilibrary.com>
Wed, 10 Jan 2018 04:24:22 +0000 (23:24 -0500)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
qa/test_output_webifier.pl

index 6818733..3afa8f4 100755 (executable)
@@ -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;
     }