@@ -155,7 +155,7 @@ ($$$$$$$$$)
155155 $failed = run($name , $input , $cmd , $options , $output );
156156
157157 if (!$failed ) {
158- print LOG " Execution [OK ]\n " ;
158+ print LOG " Execution [\e [92mOK \e [0m ]\n " ;
159159 my $included = 1;
160160 foreach my $result (@results ) {
161161 last if ($included == -1);
@@ -203,15 +203,15 @@ ($$$$$$$$$)
203203
204204
205205 if ($r ) {
206- print LOG " $result [FAILED ]\n " ;
206+ print LOG " $result [\e [91mFAILED \e [0m ]\n " ;
207207 $failed = 1;
208208 } else {
209- print LOG " $result [OK ]\n " ;
209+ print LOG " $result [\e [92mOK \e [0m ]\n " ;
210210 }
211211 }
212212 }
213213 } else {
214- print LOG " Execution [FAILED ]\n " ;
214+ print LOG " Execution [\e [91mFAILED \e [0m ]\n " ;
215215 }
216216 } else {
217217 print LOG " Execution [SKIPPED]\n " ;
@@ -358,10 +358,10 @@ ($)
358358 $skips ++;
359359 print " [SKIPPED]\n " ;
360360 } elsif (0 == $failed_skipped ) {
361- print " [OK ] in $runtime seconds\n " ;
361+ print " [\e [92mOK \e [0m ] in $runtime seconds\n " ;
362362 } else {
363363 $failures ++;
364- print " [FAILED ]\n " ;
364+ print " [\e [91mFAILED \e [0m ]\n " ;
365365 }
366366 }
367367}
393393print " \n " ;
394394
395395if ($failures == 0) {
396- print " All tests were successful" ;
396+ print " \e [92mAll tests were successful\e [0m " ;
397397} else {
398- print " Tests failed\n " ;
398+ print " \e [91mTests failed\e [0m \n " ;
399399 print " $failures of $count " . (1==$count ?" test" :" tests" ) . " failed" ;
400400}
401401print " , $skips " . (1==$skips ?" test" :" tests" ) . " skipped" if ($skips > 0);
0 commit comments