]> granicus.if.org Git - php/commitdiff
add in environment variable for easy non-skipping
authorGreg Beaver <cellog@php.net>
Sat, 29 Nov 2003 19:43:05 +0000 (19:43 +0000)
committerGreg Beaver <cellog@php.net>
Sat, 29 Nov 2003 19:43:05 +0000 (19:43 +0000)
pear/tests/pear_common_analyzeSC.phpt
pear/tests/pear_config.phpt
pear/tests/pear_error.phpt
pear/tests/pear_error2.phpt
pear/tests/pear_error3.phpt
pear/tests/pear_error4.phpt
pear/tests/pear_registry.phpt
pear/tests/pear_system.phpt

index e6b54fb8caf07b27453aeb7c7ddee3a4b5c547a5..720c1a6c1e5203e461746f63be6dba97681cf55f 100644 (file)
@@ -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
index 7e125ac8550e6b47f75df7ce6619debdd12add0b..715dff1bb643bc31f9ec935dc432b74f9763651c 100644 (file)
@@ -1,7 +1,11 @@
 --TEST--
 PEAR_Config
 --SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+    echo 'skip';
+}
+?>
 --FILE--
 <?php
 
index 51493633eaf6c25e8a8b3294bb38b0272d751a59..e65cd562cee2cc15b3d5cea201d4f0692813ffcb 100644 (file)
@@ -1,7 +1,11 @@
 --TEST--
 PEAR_Error: basic test
 --SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+    echo 'skip';
+}
+?>
 --FILE--
 <?php // -*- PHP -*-
 
index 4ae1c4b70153b7edfccb6620d2b810eda65dccb9..17d3208f7c263dd33c26bd8ea0190256a45546c5 100644 (file)
@@ -1,7 +1,11 @@
 --TEST--
 PEAR_Error: die mode
 --SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+    echo 'skip';
+}
+?>
 --FILE--
 <?php // -*- C++ -*-
 
index 4c89ae5a693ff578c0aab712f72013d1eb722d1b..63378a44500258facfb3b9d3514f551e0ca4be46 100644 (file)
@@ -1,7 +1,11 @@
 --TEST--
 PEAR_Error: default error handling
 --SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+    echo 'skip';
+}
+?>
 --FILE--
 <?php // -*- PHP -*-
 
index 57f69359b8dde933a6a629789d1f3053fff5e822..b34dbcee12a572a2e5fd6da55ac43be0257318f2 100644 (file)
@@ -1,7 +1,11 @@
 --TEST--
 PEAR_Error: expected errors
 --SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+    echo 'skip';
+}
+?>
 --FILE--
 <?php // -*- PHP -*-
 
index 0295ed922e4f5be18a3ddcb7575ca1ff687c9e60..b8237dfd2ccc7ba72a5b2a027e1559002e429a97 100644 (file)
@@ -1,7 +1,11 @@
 --TEST--
 PEAR_Registry
 --SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+    echo 'skip';
+}
+?>
 --FILE--
 <?php
 
index 64f3d1143ee453a84e749fb4805089b93a78f1ec..854ac2075613bfde2f391ee303fb2d8b5f1cd7bf 100644 (file)
@@ -1,7 +1,11 @@
 --TEST--
 System commands tests
 --SKIPIF--
-skip
+<?php
+if (!getenv('PHP_PEAR_RUNTESTS')) {
+    echo 'skip';
+}
+?>
 --FILE--
 <?php
 error_reporting(E_ALL);