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
(from parent 1:
3a2345f
)
Follow up r62006 readding return $ok; to what is now runTests()
author
Platonides
<platonides@users.mediawiki.org>
Sat, 10 Apr 2010 14:06:16 +0000
(14:06 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Sat, 10 Apr 2010 14:06:16 +0000
(14:06 +0000)
This fixes parserTests.php not returning 0 on success.
maintenance/parserTests.inc
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.inc
b/maintenance/parserTests.inc
index
5885562
..
ff934ba
100644
(file)
--- a/
maintenance/parserTests.inc
+++ b/
maintenance/parserTests.inc
@@
-289,7
+289,7
@@
class ParserTest {
function runTests($tests) {
$ok = true;
-
foreach($tests as $i => $t) {
+ foreach($tests as $i => $t) {
$result =
$this->runTest($t['test'], $t['input'], $t['result'], $t['options'], $t['config']);
$ok = $ok && $result;
@@
-298,6
+298,7
@@
class ParserTest {
if ( $this->showProgress ) {
print "\n";
}
+ return $ok;
}
/**