]> granicus.if.org Git - php/commitdiff
add missing skipif sections
authorAntony Dovgal <tony2001@php.net>
Sun, 27 May 2007 15:12:22 +0000 (15:12 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 27 May 2007 15:12:22 +0000 (15:12 +0000)
31 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
ext/gmp/tests/040.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 a4a23514b1c8d3bc3f12d19c256a929ca663f475..563d4c49a66527e85704d314cba0746c0810d510 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 22a2d3e1789ecd0dacb167d74974db46a5f9fbbb..c7843020ce379f90fd8fc50fb6372692715987f4 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_neg() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index a541591f5a478b1bc8aa5882af0f15ee54afb5e4..b99853eec9f8ef038baef723fbc500a42a546778 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_abs() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index f8bf7384d11ab9cbdfdeb309dd0e73a1e85261e1..c0d8b36e17fbae393b4d9ef5c13d58035f14b4b7 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_fact() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 8e049b2ce72528e188f64791dd8ad189dff0b5cc..57e7af27d32e740578146bbb6b9c4f471e65d654 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_pow() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index f4d8804e282bbf86f3cc0098b590c9feab781ca2..409ca8d717a765d83d8aa5adaeb16c64f1e3d990 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_powm() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 487da8d9f6ef4ffeffefacdf928d44155a12b4b9..3d568892cbff7e45dc9f0d75b1c4cb2ac29e12d8 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_sqrt() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 6751dc678bebf8d1326123c5e0debf8a7adffa17..cbcb1c02b58facd1ec33eb25a837f039249985fb 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 b1d9843563f15c7b696c564464811a9ec2247cd6..2d7d9af47ab3d56e858ee4d43371a173a70fe3c5 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_gcd() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 6b1f9f52928b1f709cf68dc979e016fe9cd131c2..fe66f9559747690add8f9018dab859f07c1604b9 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_gcdext() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 88e89b300d4befb401d3e28d8b2b982a4f112f1d..794f8a223712cabbc622db8d5ac45fc0e92d330d 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_invert() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 27166aaa86fe768fc5d51cc9d1a8bcdfe1f6d60d..0285f02b8d86ad50b0649d4590272420d3d23c7a 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_jacobi() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index d462ae296d83195f4f8cde2a409467c5e5510967..1b3fd033aff0b9a53449275ad62fd8662eada92f 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 d44c45db2d567923a1b267fa54877e60cfbb4801..346cc279942308cb187c6f35e3e18b6a56d5cb9b 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_random() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index a8168cc877d1f3b9f4db7bee59ab6ac7bfd02c1b..1ee906b6d8e1bb70c5b3ec5c4ab042af3e624759 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_and() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 97d9bd4ef0e8f6cb1e9dbf1cbfd57d235a4013c2..af762a6b1561fb2112782a01bb6e800bc160d59c 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_or() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 620b111f160a7d31e72f993c5f5a0b87939cd378..4bf36def9b68ada805fe2b8ba610b4e2bee6f65c 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_com() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 48880da63ee7750eb5e28d8863340911e6dd34ab..5753fa2d46df35bca4064f2feb2d9084d72c0d87 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_xor() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index cdcaa270761217b9a047abc7b111e150c3599678..a41d848c4a4701ec7744166e7948bc559008f238 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_setbit() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 4af5c462b572ac8a440f2388a4cfb8f9ac1cb19c..4ba5697b5fbec4b3e5947a33f7e3529ec73f5ab1 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 084772288c0eb05c40846feb60f0eb77c01a2e39..8bc2a7deb398d9b78b83c358d92d04bdf657e5a3 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_testbit() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php
 
index 3096f4abd2d2395b0387dad4fbd78783e49d593d..61b7d4945b0f17f44d54d9ee754114865660bd30 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 gmp_init() basic tests
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
 --FILE--
 <?php