summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/tests/pear_common_analyzeSC.phpt4
-rw-r--r--pear/tests/pear_config.phpt6
-rw-r--r--pear/tests/pear_error.phpt6
-rw-r--r--pear/tests/pear_error2.phpt6
-rw-r--r--pear/tests/pear_error3.phpt6
-rw-r--r--pear/tests/pear_error4.phpt6
-rw-r--r--pear/tests/pear_registry.phpt6
-rw-r--r--pear/tests/pear_system.phpt6
8 files changed, 38 insertions, 8 deletions
diff --git a/pear/tests/pear_common_analyzeSC.phpt b/pear/tests/pear_common_analyzeSC.phpt
index e6b54fb8ca..720c1a6c1e 100644
--- a/pear/tests/pear_common_analyzeSC.phpt
+++ b/pear/tests/pear_common_analyzeSC.phpt
@@ -2,10 +2,12 @@
PEAR_Common::analyzeSourceCode test
--SKIPIF--
<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+ echo 'skip';
+}
if (!function_exists('token_get_all')) {
echo 'skip';
}
-echo 'skip';
?>
--FILE--
<?php
diff --git a/pear/tests/pear_config.phpt b/pear/tests/pear_config.phpt
index 7e125ac855..715dff1bb6 100644
--- a/pear/tests/pear_config.phpt
+++ b/pear/tests/pear_config.phpt
@@ -1,7 +1,11 @@
--TEST--
PEAR_Config
--SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+ echo 'skip';
+}
+?>
--FILE--
<?php
diff --git a/pear/tests/pear_error.phpt b/pear/tests/pear_error.phpt
index 51493633ea..e65cd562ce 100644
--- a/pear/tests/pear_error.phpt
+++ b/pear/tests/pear_error.phpt
@@ -1,7 +1,11 @@
--TEST--
PEAR_Error: basic test
--SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+ echo 'skip';
+}
+?>
--FILE--
<?php // -*- PHP -*-
diff --git a/pear/tests/pear_error2.phpt b/pear/tests/pear_error2.phpt
index 4ae1c4b701..17d3208f7c 100644
--- a/pear/tests/pear_error2.phpt
+++ b/pear/tests/pear_error2.phpt
@@ -1,7 +1,11 @@
--TEST--
PEAR_Error: die mode
--SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+ echo 'skip';
+}
+?>
--FILE--
<?php // -*- C++ -*-
diff --git a/pear/tests/pear_error3.phpt b/pear/tests/pear_error3.phpt
index 4c89ae5a69..63378a4450 100644
--- a/pear/tests/pear_error3.phpt
+++ b/pear/tests/pear_error3.phpt
@@ -1,7 +1,11 @@
--TEST--
PEAR_Error: default error handling
--SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+ echo 'skip';
+}
+?>
--FILE--
<?php // -*- PHP -*-
diff --git a/pear/tests/pear_error4.phpt b/pear/tests/pear_error4.phpt
index 57f69359b8..b34dbcee12 100644
--- a/pear/tests/pear_error4.phpt
+++ b/pear/tests/pear_error4.phpt
@@ -1,7 +1,11 @@
--TEST--
PEAR_Error: expected errors
--SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+ echo 'skip';
+}
+?>
--FILE--
<?php // -*- PHP -*-
diff --git a/pear/tests/pear_registry.phpt b/pear/tests/pear_registry.phpt
index 0295ed922e..b8237dfd2c 100644
--- a/pear/tests/pear_registry.phpt
+++ b/pear/tests/pear_registry.phpt
@@ -1,7 +1,11 @@
--TEST--
PEAR_Registry
--SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+ echo 'skip';
+}
+?>
--FILE--
<?php
diff --git a/pear/tests/pear_system.phpt b/pear/tests/pear_system.phpt
index 64f3d1143e..854ac20756 100644
--- a/pear/tests/pear_system.phpt
+++ b/pear/tests/pear_system.phpt
@@ -1,7 +1,11 @@
--TEST--
System commands tests
--SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+ echo 'skip';
+}
+?>
--FILE--
<?php
error_reporting(E_ALL);