summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xext/bcmath/tests/bcdiv_error1.phpt2
-rw-r--r--ext/bcmath/tests/bcdiv_error2.phpt2
-rw-r--r--ext/bcmath/tests/bcmod_error1.phpt2
-rwxr-xr-xext/bcmath/tests/bcpowmod_error1.phpt2
-rwxr-xr-xext/bcmath/tests/bcpowmod_error2.phpt2
-rw-r--r--ext/bcmath/tests/bcpowmod_error3.phpt2
-rwxr-xr-xext/bcmath/tests/bcsqrt_error1.phpt2
7 files changed, 14 insertions, 0 deletions
diff --git a/ext/bcmath/tests/bcdiv_error1.phpt b/ext/bcmath/tests/bcdiv_error1.phpt
index 823689a41b..c69d36bb9c 100755
--- a/ext/bcmath/tests/bcdiv_error1.phpt
+++ b/ext/bcmath/tests/bcdiv_error1.phpt
@@ -4,6 +4,8 @@ bcdiv — Divide two arbitrary precision numbers
TestFest2009
Antoni Torrents
antoni@solucionsinternet.com
+--SKIPIF--
+<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--FILE--
<?php
echo bcdiv('10.99', '0');
diff --git a/ext/bcmath/tests/bcdiv_error2.phpt b/ext/bcmath/tests/bcdiv_error2.phpt
index a6a2d2024c..9daf53289e 100644
--- a/ext/bcmath/tests/bcdiv_error2.phpt
+++ b/ext/bcmath/tests/bcdiv_error2.phpt
@@ -3,6 +3,8 @@ bcdiv — Divide two arbitrary precision numbers
--CREDITS--
Antoni Torrents
antoni@solucionsinternet.com
+--SKIPIF--
+<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--FILE--
<?php
echo bcdiv('1', '2', '3', '4');
diff --git a/ext/bcmath/tests/bcmod_error1.phpt b/ext/bcmath/tests/bcmod_error1.phpt
index 8fb65275b5..69b96cc597 100644
--- a/ext/bcmath/tests/bcmod_error1.phpt
+++ b/ext/bcmath/tests/bcmod_error1.phpt
@@ -3,6 +3,8 @@ bcmod — Get modulus of an arbitrary precision number
--CREDITS--
Antoni Torrents
antoni@solucionsinternet.com
+--SKIPIF--
+<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--FILE--
<?php
echo bcmod('1', '2', '3');
diff --git a/ext/bcmath/tests/bcpowmod_error1.phpt b/ext/bcmath/tests/bcpowmod_error1.phpt
index e6253fe431..2dc292eb54 100755
--- a/ext/bcmath/tests/bcpowmod_error1.phpt
+++ b/ext/bcmath/tests/bcpowmod_error1.phpt
@@ -3,6 +3,8 @@ bcpowmod — Raise an arbitrary precision number to another, reduced by a specif
--CREDITS--
Antoni Torrents
antoni@solucionsinternet.com
+--SKIPIF--
+<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--FILE--
<?php
echo bcpowmod('1');
diff --git a/ext/bcmath/tests/bcpowmod_error2.phpt b/ext/bcmath/tests/bcpowmod_error2.phpt
index 64b1e64de4..e0a99637ca 100755
--- a/ext/bcmath/tests/bcpowmod_error2.phpt
+++ b/ext/bcmath/tests/bcpowmod_error2.phpt
@@ -3,6 +3,8 @@ bcpowmod — Raise an arbitrary precision number to another, reduced by a specif
--CREDITS--
Antoni Torrents
antoni@solucionsinternet.com
+--SKIPIF--
+<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--FILE--
<?php
echo bcpowmod('1', '2');
diff --git a/ext/bcmath/tests/bcpowmod_error3.phpt b/ext/bcmath/tests/bcpowmod_error3.phpt
index 87c5c5bcd5..c3f8df8269 100644
--- a/ext/bcmath/tests/bcpowmod_error3.phpt
+++ b/ext/bcmath/tests/bcpowmod_error3.phpt
@@ -3,6 +3,8 @@ bcpowmod — Raise an arbitrary precision number to another, reduced by a specif
--CREDITS--
Antoni Torrents
antoni@solucionsinternet.com
+--SKIPIF--
+<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--FILE--
<?php
echo bcpowmod('1', '2', '3', '4', '5');
diff --git a/ext/bcmath/tests/bcsqrt_error1.phpt b/ext/bcmath/tests/bcsqrt_error1.phpt
index b02d6813b1..1f213dbc82 100755
--- a/ext/bcmath/tests/bcsqrt_error1.phpt
+++ b/ext/bcmath/tests/bcsqrt_error1.phpt
@@ -3,6 +3,8 @@ bcsqrt — Get the square root of an arbitrary precision number
--CREDITS--
Antoni Torrents
antoni@solucionsinternet.com
+--SKIPIF--
+<?php if(!extension_loaded("bcmath")) print "skip"; ?>
--FILE--
<?php
echo bcsqrt('-9');