cvs: phpruntests /src/configuration/preconditions rtIfParallelHasPcntl.php

From: Date: Sat, 25 Apr 2009 15:13:53 +0000
Subject: cvs: phpruntests /src/configuration/preconditions rtIfParallelHasPcntl.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-57213@lists.php.net to get a copy of this message
spriebsch Sat Apr 25 15:13:53 2009 UTC Modified files: /phpruntests/src/configuration/preconditions rtIfParallelHasPcntl.php Log: Simplified method. http://cvs.php.net/viewvc.cgi/phpruntests/src/configuration/preconditions/rtIfParallelHasPcntl.php?r1=1.2&r2=1.3&diff_format=u Index: phpruntests/src/configuration/preconditions/rtIfParallelHasPcntl.php diff -u phpruntests/src/configuration/preconditions/rtIfParallelHasPcntl.php:1.2 phpruntests/src/configuration/preconditions/rtIfParallelHasPcntl.php:1.3 --- phpruntests/src/configuration/preconditions/rtIfParallelHasPcntl.php:1.2 Mon Apr 20 20:24:30 2009 +++ phpruntests/src/configuration/preconditions/rtIfParallelHasPcntl.php Sat Apr 25 15:13:53 2009 @@ -24,9 +24,7 @@ public function check(rtCommandLineOptions $commandLine = null, rtEnvironmentVariables $environmentVariables = null) { if ($commandLine->hasOption('z') || $environmentVariables->hasVariable('TESTS_PHP_PARALLEL')) { - if (!extension_loaded('pcntl')) { - return false; - } + return extension_loaded('pcntl'); } return true;

« previous php.cvs (#57213) next »