Re: com php-src: split the test for 32 and 64 bit: ext/date/tests/bug53437_var3.phpt ext/date/tests/bug53437_var5.phpt
| From: | Derick Rethans | Date: | Mon, 10 Jun 2013 21:56:20 +0000 |
| Subject: | Re: com php-src: split the test for 32 and 64 bit: ext/date/tests/bug53437_var3.phpt ext/date/tests/bug53437_var5.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-72369@lists.php.net to get a copy of this message | ||
On Mon, 10 Jun 2013, Anatol Belski wrote:
> Commit: ec790753948d190db354cbce97786b4a1aac63fc
> Author: Anatol Belski <ab@php.net> Mon, 10 Jun 2013 22:49:30 +0200
> Parents: 84e35fb2e0fcd7400d289e06395c975fc7a77816
> Branches: PHP-5.5 master
>
> Link:
> http://git.php.net/?p=php-src.git;a=commitdiff;h=ec790753948d190db354cbce97786b4a1aac63fc
>
> Log:
> split the test for 32 and 64 bit
>
> Changed paths:
> M ext/date/tests/bug53437_var3.phpt
> A ext/date/tests/bug53437_var5.phpt
>
>
> Diff:
> diff --git a/ext/date/tests/bug53437_var3.phpt b/ext/date/tests/bug53437_var3.phpt
> index da7d0bd..537462e 100644
> --- a/ext/date/tests/bug53437_var3.phpt
> +++ b/ext/date/tests/bug53437_var3.phpt
> @@ -1,5 +1,10 @@
> --TEST--
> -Bug #53437 DateInterval unserialize bad data
> +Bug #53437 DateInterval unserialize bad data, 32 bit
> +--SKIPIF--
> +<?php
> + if (PHP_INT_SIZE != 4) {
> + die('skip 32 bit only');
> + }
I'd appreciate it if you added the ?> (and perhaps keep the whole thing
on one line). Without the ?> you can't simply run the test file with
"php ext/date/tests/bug53437_var3.phpt".
cheers,
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
Posted with an email client that doesn't mangle email: alpine