]> granicus.if.org Git - php/commitdiff
Skip tests in 64bit systems
authorfoobar <sniper@php.net>
Wed, 20 Jul 2005 00:18:24 +0000 (00:18 +0000)
committerfoobar <sniper@php.net>
Wed, 20 Jul 2005 00:18:24 +0000 (00:18 +0000)
ext/mysqli/tests/009.phpt
ext/mysqli/tests/036.phpt

index d48b5157e9c8b3a26dfa52393202af183dc947f2..091313870fd3e982e683a454255432646f1dcaa6 100644 (file)
@@ -1,7 +1,13 @@
 --TEST--
 mysqli fetch bigint values
 --SKIPIF--
-<?php require_once('skipif.inc'); ?>
+<?php
+       if (PHP_INT_SIZE == 8) {
+               echo 'skip test valid only for 32bit systems';
+               exit;
+       }
+       require_once('skipif.inc');
+?>
 --FILE--
 <?php
        include "connect.inc";
index 58d27b481e504ae87528d4e41ab7deba643fb52e..057795bb4c641acd3493872ea4224582b97834dd 100644 (file)
@@ -1,7 +1,13 @@
 --TEST--
 function test: mysqli_insert_id()
 --SKIPIF--
-<?php require_once('skipif.inc'); ?>
+<?php 
+       if (PHP_INT_SIZE == 8) {
+               echo 'skip test valid only for 32bit systems';
+               exit;
+       }
+       require_once('skipif.inc');
+?>
 --FILE--
 <?php