summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-03-17 19:15:58 +0000
committerAntony Dovgal <tony2001@php.net>2007-03-17 19:15:58 +0000
commit29c4f0590cfe647efd9f00925e7197caf9963935 (patch)
treeafb687744914ab6ef6b8031f26ea2ac045f507dd
parent1ff7ca979222d7f359ffa6efa485cbda040b64f3 (diff)
downloadphp-git-29c4f0590cfe647efd9f00925e7197caf9963935.tar.gz
fix tests
I was absolutely sure we removed --disable-reflection option.
-rw-r--r--sapi/cli/tests/004.phpt7
-rw-r--r--sapi/cli/tests/005.phpt7
-rw-r--r--sapi/cli/tests/006.phpt7
3 files changed, 18 insertions, 3 deletions
diff --git a/sapi/cli/tests/004.phpt b/sapi/cli/tests/004.phpt
index 3b2cf0147f..53239059d7 100644
--- a/sapi/cli/tests/004.phpt
+++ b/sapi/cli/tests/004.phpt
@@ -1,7 +1,12 @@
--TEST--
show information about function
--SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php
+include "skipif.inc";
+if (!extension_loaded("reflection")) {
+ die("skip");
+}
+?>
--FILE--
<?php
diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt
index 12f46d1b40..fc07870193 100644
--- a/sapi/cli/tests/005.phpt
+++ b/sapi/cli/tests/005.phpt
@@ -1,7 +1,12 @@
--TEST--
show information about class
--SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php
+include "skipif.inc";
+if (!extension_loaded("reflection")) {
+ die("skip");
+}
+?>
--FILE--
<?php
diff --git a/sapi/cli/tests/006.phpt b/sapi/cli/tests/006.phpt
index 0ea14692d9..c84731f9ef 100644
--- a/sapi/cli/tests/006.phpt
+++ b/sapi/cli/tests/006.phpt
@@ -1,7 +1,12 @@
--TEST--
show information about extension
--SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php
+include "skipif.inc";
+if (!extension_loaded("reflection")) {
+ die("skip");
+}
+?>
--FILE--
<?php