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:
e089a5c
)
Remove < PHP 5.4 register_shutdown_function() from phpunit.php
author
Reedy
<reedy@wikimedia.org>
Wed, 10 Feb 2016 21:23:35 +0000
(21:23 +0000)
committer
Reedy
<reedy@wikimedia.org>
Wed, 10 Feb 2016 22:06:45 +0000
(22:06 +0000)
Change-Id: Ic4efeca82762b3c50cd2e1b45e43a6f1ef0f5710
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' ) ) {