dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1e37987
)
Merge "Remove < PHP 5.4 register_shutdown_function() from phpunit.php"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Thu, 11 Feb 2016 00:18:57 +0000
(
00:18
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 11 Feb 2016 00:18:57 +0000
(
00:18
+0000)
tests/phpunit/phpunit.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/phpunit.php
b/tests/phpunit/phpunit.php
index
673bb2d
..
81dc412
100755
(executable)
--- a/
tests/phpunit/phpunit.php
+++ b/
tests/phpunit/phpunit.php
@@
-254,14
+254,6
@@
class PHPUnitMaintClass extends Maintenance {
$maintClass = 'PHPUnitMaintClass';
require RUN_MAINTENANCE_IF_MAIN;
-// Prevent segfault when we have lots of unit tests (bug 62623)
-if ( version_compare( PHP_VERSION, '5.4.0', '<' ) ) {
- register_shutdown_function( function () {
- gc_collect_cycles();
- gc_disable();
- } );
-}
-
$ok = false;
if ( class_exists( 'PHPUnit_TextUI_Command' ) ) {