Skip to content

Commit 5e001c3

Browse files
committed
Skip 64-bit specific tests on 32-bit systems
1 parent 27542d9 commit 5e001c3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ext/calendar/tests/gregoriantojd_overflow.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--TEST--
22
gregoriantojd()
33
--SKIPIF--
4+
<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
45
<?php include 'skipif.inc'; ?>
56
--FILE--
67
<?php

ext/calendar/tests/juliantojd_overflow.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--TEST--
22
juliantojd()
33
--SKIPIF--
4+
<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
45
<?php include 'skipif.inc'; ?>
56
--FILE--
67
<?php

0 commit comments

Comments
 (0)