From: Rasmus Lerdorf Date: Sun, 9 Aug 2009 05:16:17 +0000 (+0000) Subject: Skip this test on osx because ceil(-0.5) doesn't return -0 like X-Git-Tag: php-5.2.11RC1~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c439aacf88192630a8cbff0122e693334007cfc;p=php Skip this test on osx because ceil(-0.5) doesn't return -0 like everywhere else because of weird optimizations. --- diff --git a/ext/standard/tests/math/ceil_basic.phpt b/ext/standard/tests/math/ceil_basic.phpt index 4264b1cf5e..679460533d 100644 --- a/ext/standard/tests/math/ceil_basic.phpt +++ b/ext/standard/tests/math/ceil_basic.phpt @@ -2,6 +2,10 @@ Test ceil() - basic function test for ceil() --INI-- precision=14 +--SKIPIF-- +if (strtolower(PHP_OS) == 'darwin') { + die('SKIP OSX does weird things with -0 so this test doesn't work there'); +} --FILE--