com php-src: Fixed skip case for intdiv 64-bit test: ext/standard/tests/math/intdiv_64bit.phpt
| From: | ajf@php.net | Date: | Wed, 06 Aug 2014 15:02:02 +0000 |
| Subject: | com php-src: Fixed skip case for intdiv 64-bit test: ext/standard/tests/math/intdiv_64bit.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79770@lists.php.net to get a copy of this message | ||
Commit: 54e663626d54592657b44e8963b33e9b95720641
Author: Andrea Faulds <ajf@ajf.me> Wed, 6 Aug 2014 16:02:02 +0100
Parents: 8e964fe665b6a4fbdc59639dad2efb4cd43d1c05
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=54e663626d54592657b44e8963b33e9b95720641
Log:
Fixed skip case for intdiv 64-bit test
Changed paths:
M ext/standard/tests/math/intdiv_64bit.phpt
Diff:
diff --git a/ext/standard/tests/math/intdiv_64bit.phpt b/ext/standard/tests/math/intdiv_64bit.phpt
index 320e480..c674dd3 100644
--- a/ext/standard/tests/math/intdiv_64bit.phpt
+++ b/ext/standard/tests/math/intdiv_64bit.phpt
@@ -1,9 +1,11 @@
--TEST--
intdiv functionality
--SKIPIF--
+<?php
if (PHP_INT_SIZE !== 8) {
die("skip this test is for 64-bit platforms only");
}
+?>
--FILE--
<?php
// (int)(PHP_INT_MAX / 3) gives a different result