cvs: php-src /sapi/cli/tests 004.phpt 005.phpt 006.phpt
| From: | Antony Dovgal | Date: | Sat, 17 Mar 2007 19:15:58 +0000 |
| Subject: | cvs: php-src /sapi/cli/tests 004.phpt 005.phpt 006.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-43571@lists.php.net to get a copy of this message | ||
tony2001 Sat Mar 17 19:15:58 2007 UTC
Modified files:
/php-src/sapi/cli/tests 004.phpt 005.phpt 006.phpt
Log:
fix tests
I was absolutely sure we removed --disable-reflection option.
http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/004.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/sapi/cli/tests/004.phpt
diff -u php-src/sapi/cli/tests/004.phpt:1.3 php-src/sapi/cli/tests/004.phpt:1.4
--- php-src/sapi/cli/tests/004.phpt:1.3 Sat Jan 20 22:12:45 2007
+++ php-src/sapi/cli/tests/004.phpt Sat Mar 17 19:15:57 2007
@@ -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
http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/005.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/sapi/cli/tests/005.phpt
diff -u php-src/sapi/cli/tests/005.phpt:1.3 php-src/sapi/cli/tests/005.phpt:1.4
--- php-src/sapi/cli/tests/005.phpt:1.3 Sat Jan 20 22:12:45 2007
+++ php-src/sapi/cli/tests/005.phpt Sat Mar 17 19:15:57 2007
@@ -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
http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/tests/006.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/sapi/cli/tests/006.phpt
diff -u php-src/sapi/cli/tests/006.phpt:1.3 php-src/sapi/cli/tests/006.phpt:1.4
--- php-src/sapi/cli/tests/006.phpt:1.3 Sat Jan 20 22:12:45 2007
+++ php-src/sapi/cli/tests/006.phpt Sat Mar 17 19:15:58 2007
@@ -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