]> granicus.if.org Git - php/commitdiff
add missing skipifs
authorZoe Slattery <zoe@php.net>
Mon, 31 Aug 2009 19:22:29 +0000 (19:22 +0000)
committerZoe Slattery <zoe@php.net>
Mon, 31 Aug 2009 19:22:29 +0000 (19:22 +0000)
ext/bcmath/tests/bcdiv_error1.phpt
ext/bcmath/tests/bcdiv_error2.phpt
ext/bcmath/tests/bcmod_error1.phpt
ext/bcmath/tests/bcpowmod_error1.phpt
ext/bcmath/tests/bcpowmod_error2.phpt
ext/bcmath/tests/bcpowmod_error3.phpt
ext/bcmath/tests/bcsqrt_error1.phpt

index 823689a41b2d089748ab164a553fd6ba41065473..c69d36bb9ce4e10d27c2d8655c26b000ed8ad1d2 100755 (executable)
@@ -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');
index 05e5fd2ee112bba88173052bc732a27516842550..a90c79e459f0c17ae140f33577edbeba08833580 100644 (file)
@@ -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');
index 2a3f3e4cd05c07e0f936e512c634776f6c2591f5..e36dce285db71a7e7d6b5fd2fb62a6e6984c2843 100644 (file)
@@ -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');
index e6253fe4310a908a4a9a3b3639bf23d9e88c57fa..2dc292eb54c2eace9a3765d286129b88e5966a01 100755 (executable)
@@ -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');
index 64b1e64de4965da5ba8576faaef3149d1dd8e564..e0a99637caf5fc4d509629943152c43b9eddebe8 100755 (executable)
@@ -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');
index 87c5c5bcd512b1137442917512e91e8c724f3a5c..c3f8df82691814857ba0f0326c5b27cbce7f7142 100644 (file)
@@ -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');
index b02d6813b16335053fa744c0452278679e9f8ed6..1f213dbc821208439456e3e279450402f01dda6c 100755 (executable)
@@ -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');