]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Sat, 17 Mar 2007 19:16:17 +0000 (19:16 +0000)
committerAntony Dovgal <tony2001@php.net>
Sat, 17 Mar 2007 19:16:17 +0000 (19:16 +0000)
sapi/cli/tests/004.phpt
sapi/cli/tests/005.phpt
sapi/cli/tests/006.phpt

index b6630f39e7f39ce2bebc99545941fdb9899fc14c..f12941fc2504e2940bc14e42986e76a47e3e8580 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 ef550c6bb6e375f45eb6aaa6f6e753545d7f6c98..0b38bba765048526bf9cd6a2a4f4006e0f39fe0b 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 f8577b11fb47db89978b11cdb84bde281a8471bb..d171b2be68e0c933bd5df1f88b2176db4419ca83 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