]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Sat, 17 Mar 2007 19:15:58 +0000 (19:15 +0000)
committerAntony Dovgal <tony2001@php.net>
Sat, 17 Mar 2007 19:15:58 +0000 (19:15 +0000)
I was absolutely sure we removed --disable-reflection option.

sapi/cli/tests/004.phpt
sapi/cli/tests/005.phpt
sapi/cli/tests/006.phpt

index 3b2cf0147ff09355bb3fe15c35eadbae9bb4f02a..53239059d7398530e57e1709b347f97e2dff6edf 100644 (file)
@@ -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
 
index 12f46d1b40ce7b464eeffa9dbe9abd02c162c8b5..fc0787019337ef1b3c6493161a63b91dfaa6da11 100644 (file)
@@ -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
 
index 0ea14692d9efd9250172f52201ea6e67b87c25df..c84731f9efc3c071effdb0a4810c68261952ab5b 100644 (file)
@@ -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