cvs: php4 /ext/gmp/tests 002.phpt /ext/mcrypt/tests 001.phpt
| From: | Sascha Schumann | Date: | Sun, 24 Dec 2000 16:51:05 +0000 |
| Subject: | cvs: php4 /ext/gmp/tests 002.phpt /ext/mcrypt/tests 001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3302@lists.php.net to get a copy of this message | ||
sas Sun Dec 24 08:51:05 2000 EDT
Modified files:
/php4/ext/gmp/tests 002.phpt
/php4/ext/mcrypt/tests 001.phpt
Log:
Skip mcrypt/gmp tests, if the extensions are not available.
Index: php4/ext/gmp/tests/002.phpt
diff -u php4/ext/gmp/tests/002.phpt:1.1 php4/ext/gmp/tests/002.phpt:1.2
--- php4/ext/gmp/tests/002.phpt:1.1 Wed Dec 13 07:55:40 2000
+++ php4/ext/gmp/tests/002.phpt Sun Dec 24 08:51:04 2000
@@ -1,5 +1,7 @@
--TEST--
GMP functionality test - factorial
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
--POST--
--GET--
--FILE--
Index: php4/ext/mcrypt/tests/001.phpt
diff -u php4/ext/mcrypt/tests/001.phpt:1.1 php4/ext/mcrypt/tests/001.phpt:1.2
--- php4/ext/mcrypt/tests/001.phpt:1.1 Fri Dec 15 07:59:29 2000
+++ php4/ext/mcrypt/tests/001.phpt Sun Dec 24 08:51:04 2000
@@ -1,5 +1,7 @@
--TEST--
Bug #8040
+--SKIPIF--
+<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--POST--
--GET--
--FILE--