From: Jason Etheridge Date: Wed, 21 Aug 2013 18:04:00 +0000 (-0400) Subject: handle general test failure X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1a347713ee88dc761434dbf6d43586ed04dddea1;p=working%2Frandom.git handle general test failure Signed-off-by: Jason Etheridge --- diff --git a/qa/test_output_webifier.pl b/qa/test_output_webifier.pl index 3b32c9677..264d88430 100755 --- a/qa/test_output_webifier.pl +++ b/qa/test_output_webifier.pl @@ -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 =~ /_\.-~=/