From: Jason Etheridge Date: Thu, 8 Aug 2013 19:11:50 +0000 (-0400) Subject: colorize some of the output from settings-tester X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a27c83dddd958b11f1dd751d2612ed1bbeba94ff;p=working%2Frandom.git colorize some of the output from settings-tester Signed-off-by: Jason Etheridge --- diff --git a/qa/test_output_filter.pl b/qa/test_output_filter.pl index cbe479cb7..fdf13eef5 100755 --- a/qa/test_output_filter.pl +++ b/qa/test_output_filter.pl @@ -19,12 +19,17 @@ while (my $line = <>) { if ($line =~ /^ok/ || $line =~ /\. ok/ || $line =~ /^PASS/ + || $line =~ /\* OK/ + || $line =~ /\* Jabber successfully connected/ + || $line =~ /\* Database has the expected server encoding / ) { $class .= 'ok '; } $class .= 'error ' if ($line =~ /^err/i); if ($line =~ /^not ok/ || $line =~ /\. not ok/ + || $line =~ /\* ERROR/ + || $line =~ /\* WARNING/ ) { $class .= 'notok '; $error_count++;