summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-03-31 19:43:48 +0000
committerfoobar <sniper@php.net>2005-03-31 19:43:48 +0000
commit1f3419a4dbdf77572c4199a600de9777065d222a (patch)
tree19464f739189af180a85a01d80d759745ca48086 /pear
parent3eb4162122efdfbf952ec27573969995428b2025 (diff)
downloadphp-git-1f3419a4dbdf77572c4199a600de9777065d222a.tar.gz
fix some skip conditions..
Diffstat (limited to 'pear')
-rw-r--r--pear/tests/pear_config.phpt3
-rw-r--r--pear/tests/pear_config_1.1.phpt3
-rw-r--r--pear/tests/pear_registry.phpt1
-rw-r--r--pear/tests/pear_registry_1.1.phpt2
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';