dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5e16eb
)
report number of failed tests as well
author
Antoine Musso
<hashar@users.mediawiki.org>
Sat, 20 Jan 2007 19:15:49 +0000
(19:15 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Sat, 20 Jan 2007 19:15:49 +0000
(19:15 +0000)
maintenance/parserTests.inc
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.inc
b/maintenance/parserTests.inc
index
021ed62
..
d4f09eb
100644
(file)
--- 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);