diff options
author | foobar <sniper@php.net> | 2005-03-31 19:43:48 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-03-31 19:43:48 +0000 |
commit | 1f3419a4dbdf77572c4199a600de9777065d222a (patch) | |
tree | 19464f739189af180a85a01d80d759745ca48086 | |
parent | 3eb4162122efdfbf952ec27573969995428b2025 (diff) | |
download | php-git-1f3419a4dbdf77572c4199a600de9777065d222a.tar.gz |
fix some skip conditions..
-rw-r--r-- | pear/tests/pear_config.phpt | 3 | ||||
-rw-r--r-- | pear/tests/pear_config_1.1.phpt | 3 | ||||
-rw-r--r-- | pear/tests/pear_registry.phpt | 1 | ||||
-rw-r--r-- | pear/tests/pear_registry_1.1.phpt | 2 |
4 files changed, 7 insertions, 2 deletions
diff --git a/pear/tests/pear_config.phpt b/pear/tests/pear_config.phpt index 7578a8ad8e..395986b9bd 100644 --- a/pear/tests/pear_config.phpt +++ b/pear/tests/pear_config.phpt @@ -4,6 +4,7 @@ PEAR_Config <?php if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; + exit(); } include 'PEAR/Config.php'; $pv = phpversion() . ''; @@ -300,4 +301,4 @@ test_dir: PEAR test directory umask: Unix file mask username: PEAR username (for maintainers) verbose: Debug Log Level -done
\ No newline at end of file +done diff --git a/pear/tests/pear_config_1.1.phpt b/pear/tests/pear_config_1.1.phpt index c7a13a56da..0ffb1b5e69 100644 --- a/pear/tests/pear_config_1.1.phpt +++ b/pear/tests/pear_config_1.1.phpt @@ -4,6 +4,7 @@ PEAR_Config v1.1 <?php if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; + exit(); } include_once 'PEAR/Config.php'; $pv = phpversion() . ''; @@ -390,4 +391,4 @@ test_dir: PEAR test directory umask: Unix file mask username: PEAR username (for maintainers) verbose: Debug Log Level -done
\ No newline at end of file +done diff --git a/pear/tests/pear_registry.phpt b/pear/tests/pear_registry.phpt index 26cafa3035..3eeed76408 100644 --- a/pear/tests/pear_registry.phpt +++ b/pear/tests/pear_registry.phpt @@ -4,6 +4,7 @@ PEAR_Registry <?php if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; + exit(); } $statedir = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'registry_tester'; if (file_exists($statedir)) { diff --git a/pear/tests/pear_registry_1.1.phpt b/pear/tests/pear_registry_1.1.phpt index 5af8636072..f82478b4f6 100644 --- a/pear/tests/pear_registry_1.1.phpt +++ b/pear/tests/pear_registry_1.1.phpt @@ -4,6 +4,7 @@ PEAR_Registry v1.1 <?php if (!getenv('PHP_PEAR_RUNTESTS')) { echo 'skip'; + exit(); } $statedir = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'registry_tester'; if (file_exists($statedir)) { @@ -15,6 +16,7 @@ $pv = phpversion() . ''; $av = $pv{0} == '4' ? 'apiversion' : 'apiVersion'; if (!in_array($av, get_class_methods('PEAR_Registry'))) { echo 'skip'; + exit(); } if (PEAR_Registry::apiVersion() != '1.1') { echo 'skip'; |