Re: Can we use PHPT instead of .php and .php.expect
| From: | Nikita Popov | Date: | Sun, 04 Jan 2015 20:16:37 +0000 |
| Subject: | Re: Can we use PHPT instead of .php and .php.expect | ||
| References: | 1 2 3 4 5 6 | Groups: | php.standards |
| Request: | Send a blank email to standards-+get-681@lists.php.net to get a copy of this message | ||
On Sun, Jan 4, 2015 at 8:49 PM, Sara Golemon <pollita@php.net> wrote:
> On Sun, Jan 4, 2015 at 8:22 AM, Nikita Popov <nikita.ppv@gmail.com> wrote:
> > On Wed, Oct 8, 2014 at 2:11 AM, Stas Malyshev <smalyshev@sugarcrm.com>
> > wrote:
> > The phpt/ folder is not being kept updated. Anybody object to dropping it
> > from the repo? It's trivial to generate it using ./make_phpt
> >
> > Alternatively drop the original files and only use phpt. Probably better
> > because we have stuff like SKIPIF (for 32bit vs 64bit).
> >
> It's trivial to generate one into the other in either direction, so I
> don't care much which we declare as the source.
>
> I'm partial to .phpt, myself...
>
> -Sara
>
If we start using .phpt exclusively, I'd also like to bundle run-tests.php
and set up Travis to run PHP 5.6 and HHVM against the PHP-5.6 branch.
Having these tests is kinda pointless if they fail and nobody even notices.
Sadly we can't do the same for PHP 7 yet, because it isn't available on
Travis.
Nikita