handle general test failure
authorJason Etheridge <jason@esilibrary.com>
Wed, 21 Aug 2013 18:04:00 +0000 (14:04 -0400)
committerJason Etheridge <jason@esilibrary.com>
Wed, 21 Aug 2013 18:04:00 +0000 (14:04 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
qa/test_output_webifier.pl

index 3b32c96..264d884 100755 (executable)
@@ -68,6 +68,12 @@ while (my $line = <>) {
             $class .= 'fail ';
             $error_count++;
         }
+        if ($line =~ /^Return Value = (.+)$/) {
+            if ($1 ne '0') {
+                $class .= 'fail ';
+                $error_count++;
+            }
+        }
         if ($line =~ /^#/
             || $line =~ /Checks:/
             || $line =~ /_\.-~=/