]> granicus.if.org Git - php/commitdiff
Skip 64-bit specific tests on 32-bit systems
authorDmitry Stogov <dmitry@zend.com>
Thu, 17 Nov 2016 08:44:28 +0000 (11:44 +0300)
committerDmitry Stogov <dmitry@zend.com>
Thu, 17 Nov 2016 08:44:28 +0000 (11:44 +0300)
ext/calendar/tests/gregoriantojd_overflow.phpt
ext/calendar/tests/juliantojd_overflow.phpt

index a189cc80c3506b196d7fbb3a96179728991d7e04..8cb4796e5ce95767215584268356b5d67fda3e2f 100644 (file)
@@ -1,6 +1,7 @@
 --TEST--
 gregoriantojd()
 --SKIPIF--
+<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
 <?php include 'skipif.inc'; ?>
 --FILE--
 <?php
index f2f5aa182d0f5fbd502cfe2a3a1a777dc0246b50..fb04c954951afc5e09c25fa28a3cbb3dc27c8220 100644 (file)
@@ -1,6 +1,7 @@
 --TEST--
 juliantojd()
 --SKIPIF--
+<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
 <?php include 'skipif.inc'; ?>
 --FILE--
 <?php