iliaa Sun Aug 8 17:31:50 2004 EDT Modified files: /php-src/pear/tests pear_config.phpt pear_config_1.1.phpt pear_registry_1.1.phpt Log: When skip condition is met, stop. http://cvs.php.net/diff.php/php-src/pear/tests/pear_config.phpt?r1=1.17&r2=1.18&ty=u Index: php-src/pear/tests/pear_config.phpt diff -u php-src/pear/tests/pear_config.phpt:1.17 php-src/pear/tests/pear_config.phpt:1.18 --- php-src/pear/tests/pear_config.phpt:1.17 Sat May 29 04:59:26 2004 +++ php-src/pear/tests/pear_config.phpt Sun Aug 8 17:31:50 2004 @@ -4,6 +4,7 @@ <?php if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; + return; } include 'PEAR/Config.php'; $pv = phpversion() . ''; http://cvs.php.net/diff.php/php-src/pear/tests/pear_config_1.1.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/pear/tests/pear_config_1.1.phpt diff -u php-src/pear/tests/pear_config_1.1.phpt:1.1 php-src/pear/tests/pear_config_1.1.phpt:1.2 --- php-src/pear/tests/pear_config_1.1.phpt:1.1 Sat May 29 04:59:26 2004 +++ php-src/pear/tests/pear_config_1.1.phpt Sun Aug 8 17:31:50 2004 @@ -4,12 +4,14 @@ <?php if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; + return; } include_once 'PEAR/Config.php'; $pv = phpversion() . ''; $av = $pv{0} == '4' ? 'apiversion' : 'apiVersion'; if (!in_array($av, get_class_methods('PEAR_Config'))) { echo 'skip'; + return; } if (PEAR_Config::apiVersion() != '1.1') { echo 'skip'; http://cvs.php.net/diff.php/php-src/pear/tests/pear_registry_1.1.phpt?r1=1.2&r2=1.3&ty=u Index: php-src/pear/tests/pear_registry_1.1.phpt diff -u php-src/pear/tests/pear_registry_1.1.phpt:1.2 php-src/pear/tests/pear_registry_1.1.phpt:1.3 --- php-src/pear/tests/pear_registry_1.1.phpt:1.2 Tue Jun 1 10:29:59 2004 +++ php-src/pear/tests/pear_registry_1.1.phpt Sun Aug 8 17:31:50 2004 @@ -4,20 +4,24 @@ <?php if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; + return; } $statedir = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'registry_tester'; if (file_exists($statedir)) { // don't delete existing directories! echo 'skip'; + return; } include_once 'PEAR/Registry.php'; $pv = phpversion() . ''; $av = $pv{0} == '4' ? 'apiversion' : 'apiVersion'; if (!in_array($av, get_class_methods('PEAR_Registry'))) { echo 'skip'; + return; } if (PEAR_Registry::apiVersion() != '1.1') { echo 'skip'; + return; } ?> --FILE--
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php