tyrael Mon, 16 May 2011 23:35:23 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=311117
Log: set the timezone to UTC as suggested by Alexey Shein, and adding an SKIPIF as this test was originaly intended to be windows only Changed paths: U php/php-src/branches/PHP_5_3/ext/date/tests/DateInterval_format_a.phpt U php/php-src/branches/PHP_5_4/ext/date/tests/DateInterval_format_a.phpt U php/php-src/trunk/ext/date/tests/DateInterval_format_a.phpt Modified: php/php-src/branches/PHP_5_3/ext/date/tests/DateInterval_format_a.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/date/tests/DateInterval_format_a.phpt 2011-05-16 23:33:05 UTC (rev 311116) +++ php/php-src/branches/PHP_5_3/ext/date/tests/DateInterval_format_a.phpt 2011-05-16 23:35:23 UTC (rev 311117) @@ -3,8 +3,13 @@ --CREDITS-- Daniel Convissor <dani...@php.net> # TestFest 2010 BKTK +--INI-- +date.timezone=UTC --SKIPIF-- -<?php if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); ?> +<?php +if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); +if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only"); +?> --XFAIL-- Windows VC6 libs' floor()/ceil() choke on floats --FILE-- Modified: php/php-src/branches/PHP_5_4/ext/date/tests/DateInterval_format_a.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/date/tests/DateInterval_format_a.phpt 2011-05-16 23:33:05 UTC (rev 311116) +++ php/php-src/branches/PHP_5_4/ext/date/tests/DateInterval_format_a.phpt 2011-05-16 23:35:23 UTC (rev 311117) @@ -3,8 +3,13 @@ --CREDITS-- Daniel Convissor <dani...@php.net> # TestFest 2010 BKTK +--INI-- +date.timezone=UTC --SKIPIF-- -<?php if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); ?> +<?php +if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); +if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only"); +?> --XFAIL-- Windows VC6 libs' floor()/ceil() choke on floats --FILE-- Modified: php/php-src/trunk/ext/date/tests/DateInterval_format_a.phpt =================================================================== --- php/php-src/trunk/ext/date/tests/DateInterval_format_a.phpt 2011-05-16 23:33:05 UTC (rev 311116) +++ php/php-src/trunk/ext/date/tests/DateInterval_format_a.phpt 2011-05-16 23:35:23 UTC (rev 311117) @@ -3,8 +3,13 @@ --CREDITS-- Daniel Convissor <dani...@php.net> # TestFest 2010 BKTK +--INI-- +date.timezone=UTC --SKIPIF-- -<?php if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); ?> +<?php +if (!method_exists('DateInterval', 'format')) die("skip: method doesn't exist"); +if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only"); +?> --XFAIL-- Windows VC6 libs' floor()/ceil() choke on floats --FILE--
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php