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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php