Re: Can we use PHPT instead of .php and .php.expect
| From: | Nikita Popov | Date: | Sun, 04 Jan 2015 16:22:24 +0000 |
| Subject: | Re: Can we use PHPT instead of .php and .php.expect | ||
| References: | 1 2 3 4 | Groups: | php.standards |
| Request: | Send a blank email to standards-+get-678@lists.php.net to get a copy of this message | ||
On Wed, Oct 8, 2014 at 2:11 AM, Stas Malyshev <smalyshev@sugarcrm.com>
wrote:
> Hi!
>
> > Done:
> > https://gist.github.com/TazeTSchnitzel/a15bc06a8f170cbb0a37
> >
> > Run this in php-langspec and it’ll convert all the tests. Please spot if
> there are any problems with it, it seems to work properly.
> >
> > I note that, apparently, we have several tests which are broken in
> current PHP(!)
>
> Looks like there already is a script there that does the same:
> make_phpt. I'll probably add the generated phpt tests to the repo too.
>
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).
Nikita