From 12fb41524efedc2d44eeec890903d4f9e91631bf Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sat, 20 Jan 2007 19:15:49 +0000 Subject: [PATCH] report number of failed tests as well --- maintenance/parserTests.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index 021ed623cd..d4f09eb4bb 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -929,7 +929,8 @@ class TestRecorder { if( $success == $total ) { print $this->term->color( 32 ) . "ALL TESTS PASSED!"; } else { - print $this->term->color( 31 ) . "some tests failed!"; + $failed = $total - $success ; + print $this->term->color( 31 ) . "$failed tests failed!"; } print $this->term->reset() . "\n"; return ($success == $total); -- 2.20.1