dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
parserTests.php: Fix exit status
[lhc/web/wiklou.git]
/
tests
/
parser
/
parserTests.php
diff --git
a/tests/parser/parserTests.php
b/tests/parser/parserTests.php
index
8d5f072
..
38923f0
100644
(file)
--- a/
tests/parser/parserTests.php
+++ b/
tests/parser/parserTests.php
@@
-185,7
+185,9
@@
class ParserTestsMaintenance extends Maintenance {
if ( $recorderLB ) {
$recorderLB->closeAll();
}
- return $ok ? 0 : 1;
+ if ( !$ok ) {
+ exit( 1 );
+ }
}
}