]> granicus.if.org Git - php/commitdiff
fix some skip conditions..
authorfoobar <sniper@php.net>
Thu, 31 Mar 2005 19:43:48 +0000 (19:43 +0000)
committerfoobar <sniper@php.net>
Thu, 31 Mar 2005 19:43:48 +0000 (19:43 +0000)
pear/tests/pear_config.phpt
pear/tests/pear_config_1.1.phpt
pear/tests/pear_registry.phpt
pear/tests/pear_registry_1.1.phpt

index 7578a8ad8ef3d67bb65b1f3f8a5b263f9723e5d3..395986b9bd432c691b82e62f5b6de6da45c58772 100644 (file)
@@ -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
index c7a13a56dadcaaa4e35fe7d43a8112e89ba7705f..0ffb1b5e6976cf0ad8aba9c8a5360629de357468 100644 (file)
@@ -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
index 26cafa30351fc90dd32354405156306e4d09999f..3eeed764088bf816f251e2865057ad5991257c89 100644 (file)
@@ -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)) {
index 5af8636072d2e94f3bb7c2783e41ebab616ed125..f82478b4f69c2224d77542abc5999587c23f3162 100644 (file)
@@ -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';