]> granicus.if.org Git - php/commitdiff
MFH: add missing skipif sections
authorAntony Dovgal <tony2001@php.net>
Sun, 27 May 2007 15:12:33 +0000 (15:12 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 27 May 2007 15:12:33 +0000 (15:12 +0000)
30 files changed:
ext/gmp/tests/001.phpt
ext/gmp/tests/011.phpt
ext/gmp/tests/012.phpt
ext/gmp/tests/013.phpt
ext/gmp/tests/014.phpt
ext/gmp/tests/015.phpt
ext/gmp/tests/016.phpt
ext/gmp/tests/017.phpt
ext/gmp/tests/018.phpt
ext/gmp/tests/019.phpt
ext/gmp/tests/020.phpt
ext/gmp/tests/021.phpt
ext/gmp/tests/022.phpt
ext/gmp/tests/023.phpt
ext/gmp/tests/024.phpt
ext/gmp/tests/025.phpt
ext/gmp/tests/026.phpt
ext/gmp/tests/027.phpt
ext/gmp/tests/028.phpt
ext/gmp/tests/029.phpt
ext/gmp/tests/030.phpt
ext/gmp/tests/031.phpt
ext/gmp/tests/032.phpt
ext/gmp/tests/033.phpt
ext/gmp/tests/034.phpt
ext/gmp/tests/035.phpt
ext/gmp/tests/036.phpt
ext/gmp/tests/037.phpt
ext/gmp/tests/038.phpt
ext/gmp/tests/039.phpt

index 382d374cb9c5773b65bbe89fb4c6226942e2b62d..5126f7314298e8113ff79c032c46bf5a14e1ecf2 100644 (file)
@@ -18,4 +18,4 @@ echo "gmp extension is available";
 */
 ?>
 --EXPECT--
-gmp extension is available
\ No newline at end of file
+gmp extension is available
index fc2d0d52f206006bc2219a322d7c6a9f1c782def..0ca3ca3849c14e4a7c1f745b3ee2acf05770fcbc 100644 (file)
@@ -2,6 +2,7 @@
 gmp_divexact() tests
 --SKIPIF--
 <?php 
+if (!extension_loaded("gmp")) die ("skip"); 
 if (!defined('GMP_VERSION') || version_compare("4.2.1", GMP_VERSION, ">=")) {
        die("skip your GMP is too old and will crash");
 }
index ff60385bb7bb423dbfe4e988ded8d3b64e2dcf8e..a8de9159805acddd79ab0282a84f019f80422c0e 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_neg() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index b576d444860bdbd13de59d865695acfbd5ca97c0..8d6e1d0d59c8a412d691fdeee5cc7d14279f4a4b 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_abs() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 850574865e532f1e355404ee689ab412e4a57081..f52c32cdb34672a6084665d129c7f5e48ad723e6 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_fact() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 2eea93a97512857aa9ef461e3c6bed1722c019b7..98ae349b5961733e284e220b87e3994570ea6330 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_pow() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 6f63b28a08f8cfeffe4012719efd4aaa6a50c90e..6bd3afd0700b0dcf2962cbf0202750f84d8feed5 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_powm() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 4254a07aec422b0311dd6d54b5ce747a38650627..8349862b7d9a81b7d7918e4c38940c9d1e2e1a13 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_sqrt() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 9aeff65970c492c59f1fe9a49a099b3c19425518..c8146cf95c20242389b78c2d10c4e98248022871 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_sqrtrem() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index d632d14003bce362435ecc6dc52c010f7e721625..10bca880b86b26f09764929cbfc88417598fdb0e 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_perfect_square() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 37c3ebdc6918175e790c8fccc38d97c68a36f5ab..c689ec552cc52532b592b645dcbfbbd8a7da0b2d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_prob_prime() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 48d8291aebc8b5ae7483fa9c32edb39ea6510f0e..01b4d1cd68c5ffdf3230ec011c0c95133cfe152d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_gcd() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 0df874dc7d0142c1231bd13e8f1118a3b0cab4aa..cfa919bf6fc30853920b78ac99661f7f0603f354 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_gcdext() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 59d1592cb0a2f6ffebde20666461c03d56a31248..a7cc9a7a8f68192f0be46a662c1de9922d0a931e 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_invert() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 4f9a369c9544b5d99ef99471503dc96870dd1fba..9b46d9483788402d0301542574b45fa1adeedf24 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_jacobi() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index db01a4c13d71edbcb973ed1d33e5b862bc2ca1f6..99ac184df823569dca998c7660379909999e36d7 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_legendre() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 39c18501fe7fe48477eaa371403a74e73dab5bf5..d9526228755eb4100ab3ce667e2bbc7fc32a557a 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_cmp() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index b22fa2ac0a80698166faea04754f562b89d203cf..d4fee571f76a00672a28481b8700230c0a35c988 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_sign() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 95f910ab4037829cd7bb2a9b4b7bc67121726491..a61a39a07d843727c9090fd534000ebf8bdec64f 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_random() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index b49ae28420df045c5635c980df205536ef7a335d..0846ad135667179ab3bfbdcbea792da0b5b20308 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_and() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 116630bca187af5245fc1664296faf6d66a56107..86c5caeea424bb042eaa7181e46e941dee23d68a 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_or() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index fc8a561438fa76aa0c627964ecd76d591d18de78..80a7ff89cba4105756621ac656fda08fc0c3f898 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_com() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 5cca14063136d83a414289f69342a3e02c9427f0..4f426aac16caa6df21ae0f52ca8b655fa694dd66 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_xor() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 070ff0ef2252cbc0712bcfda6548909dc9122d20..ea5cc5da7ca3aa13e675e942e7e9f97e4588bc69 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_setbit() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index b3f65547f047035290ae15d286501ef2bc603cb8..1614c00160004a04793f98762e3326a6c41ed33d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_clrbit() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 81410b5c705f6ea6ed3dcb67b260b0b7320035c3..a9b0c1a3323fdad7c5812811338c153e7a5fd2c2 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_popcount() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 2d429c40a25709afa6b3bf0770f5b5982268cb5e..fa2d67c8221d6fb2a84b9b5e37a0fc0185ad24a1 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_hamdist() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 90ba3558d26ed69ce5a7660ada297d655c612062..4789043029308b1f977f5ec301b0c3eabfd4674a 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_scan0() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index c4764faff6d793344b7765dd82a14f7cf2981089..b278c2586c820182e3b7578b1c2b2ecd05cef202 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_scan1() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 9a4edb541c149df408acb8d3bcc5b3122ffb0219..3f373a84fc2e688319f9060aa972c28d1fb750b5 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_init() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php