svn: /php/php-src/ branches/PHP_5_3/ext/date/tests/DateInterval_format_a.phpt branches/PHP_5_4/ext/date/tests/DateInterval_format_a.phpt
trunk/ext/date/tests/DateInterval_format_a.phpt

From: Date: Mon, 16 May 2011 23:35:23 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/ext/date/tests/DateInterval_format_a.phpt branches/PHP_5_4/ext/date/tests/DateInterval_format_a.phpt
trunk/ext/date/tests/DateInterval_format_a.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-64962@lists.php.net to get a copy of this message
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 <danielc@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 <danielc@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 <danielc@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--

« previous php.cvs (#64962) next »