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
Output only to stderr in unit tests
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
phpunit.php
diff --git
a/tests/phpunit/phpunit.php
b/tests/phpunit/phpunit.php
index
7cf042d
..
650cfcf
100755
(executable)
--- a/
tests/phpunit/phpunit.php
+++ b/
tests/phpunit/phpunit.php
@@
-124,9
+124,9
@@
class PHPUnitMaintClass extends Maintenance {
exit( 1 );
}
exit( 1 );
}
-
echo
defined( 'HHVM_VERSION' ) ?
+
fwrite( STDERR,
defined( 'HHVM_VERSION' ) ?
'Using HHVM ' . HHVM_VERSION . ' (' . PHP_VERSION . ")\n" :
'Using HHVM ' . HHVM_VERSION . ' (' . PHP_VERSION . ")\n" :
- 'Using PHP ' . PHP_VERSION . "\n";
+ 'Using PHP ' . PHP_VERSION . "\n"
)
;
// Prepare global services for unit tests.
MediaWikiTestCase::prepareServices( new GlobalVarConfig() );
// Prepare global services for unit tests.
MediaWikiTestCase::prepareServices( new GlobalVarConfig() );