summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-12-24 16:51:04 +0000
committerSascha Schumann <sas@php.net>2000-12-24 16:51:04 +0000
commit60492fa685dc6f6fa7561f474edf57f3b422c19f (patch)
tree5b55575ad16a5d8e805413a36b05db964321b430
parent8e22a8a73b544c56e24d78f90238194e31c675b5 (diff)
downloadphp-git-60492fa685dc6f6fa7561f474edf57f3b422c19f.tar.gz
Skip mcrypt/gmp tests, if the extensions are not available.
-rw-r--r--ext/gmp/tests/002.phpt2
-rw-r--r--ext/mcrypt/tests/001.phpt2
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/gmp/tests/002.phpt b/ext/gmp/tests/002.phpt
index a20bc85b69..2f32450474 100644
--- a/ext/gmp/tests/002.phpt
+++ b/ext/gmp/tests/002.phpt
@@ -1,5 +1,7 @@
--TEST--
GMP functionality test - factorial
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
--POST--
--GET--
--FILE--
diff --git a/ext/mcrypt/tests/001.phpt b/ext/mcrypt/tests/001.phpt
index 87f741687c..0cefdb5600 100644
--- a/ext/mcrypt/tests/001.phpt
+++ b/ext/mcrypt/tests/001.phpt
@@ -1,5 +1,7 @@
--TEST--
Bug #8040
+--SKIPIF--
+<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--POST--
--GET--
--FILE--