com php-src: Skip 64-bit specific tests on 32-bit systems: ext/calendar/tests/gregoriantojd_overflow.phpt ext/calend ar/tests/juliantojd_overflow.phpt

From: Date: Thu, 17 Nov 2016 08:44:28 +0000
Subject: com php-src: Skip 64-bit specific tests on 32-bit systems: ext/calendar/tests/gregoriantojd_overflow.phpt ext/calend ar/tests/juliantojd_overflow.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95817@lists.php.net to get a copy of this message
Commit: 5e001c34ec88c9a1625f9874cdf27f82912014e2 Author: Dmitry Stogov <dmitry@zend.com> Thu, 17 Nov 2016 11:44:28 +0300 Parents: 27542d9c9dc3a2971517d4afadde8a408c034d17 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5e001c34ec88c9a1625f9874cdf27f82912014e2 Log: Skip 64-bit specific tests on 32-bit systems Changed paths: M ext/calendar/tests/gregoriantojd_overflow.phpt M ext/calendar/tests/juliantojd_overflow.phpt Diff: diff --git a/ext/calendar/tests/gregoriantojd_overflow.phpt b/ext/calendar/tests/gregoriantojd_overflow.phpt index a189cc8..8cb4796 100644 --- a/ext/calendar/tests/gregoriantojd_overflow.phpt +++ b/ext/calendar/tests/gregoriantojd_overflow.phpt @@ -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 diff --git a/ext/calendar/tests/juliantojd_overflow..phpt b/ext/calendar/tests/juliantojd_overflow.phpt index f2f5aa1..fb04c95 100644 --- a/ext/calendar/tests/juliantojd_overflow.phpt +++ b/ext/calendar/tests/juliantojd_overflow.phpt @@ -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

« previous php.cvs (#95817) next »