summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-07-20 00:18:24 +0000
committerfoobar <sniper@php.net>2005-07-20 00:18:24 +0000
commit40a049b27ea1ede2bf9498992ed605831c1628fa (patch)
tree7938aa9db7697c523e27ba6b5ba414987d13d628
parentdd3d739cc663b18e8c8ee295d80109ce1f207976 (diff)
downloadphp-git-40a049b27ea1ede2bf9498992ed605831c1628fa.tar.gz
Skip tests in 64bit systems
-rw-r--r--ext/mysqli/tests/009.phpt8
-rw-r--r--ext/mysqli/tests/036.phpt8
2 files changed, 14 insertions, 2 deletions
diff --git a/ext/mysqli/tests/009.phpt b/ext/mysqli/tests/009.phpt
index d48b5157e9..091313870f 100644
--- a/ext/mysqli/tests/009.phpt
+++ b/ext/mysqli/tests/009.phpt
@@ -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";
diff --git a/ext/mysqli/tests/036.phpt b/ext/mysqli/tests/036.phpt
index 58d27b481e..057795bb4c 100644
--- a/ext/mysqli/tests/036.phpt
+++ b/ext/mysqli/tests/036.phpt
@@ -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