Re: Tests repository (was: Re: [PHP-DEV] PHP 6)

From: Date: Fri, 12 Mar 2010 17:27:26 +0000
Subject: Re: Tests repository (was: Re: [PHP-DEV] PHP 6)
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-47170@lists.php.net to get a copy of this message
On Mar 12, 2010, at 5:33 AM, Pierre Joye wrote:
>> Having tests in multiple branches is PITA. Hasn't anyone considered that the
>> best way would be to move all tests into their own repository
>> (directory..whatever :) in SVN..? Considering they are supposed to be used
>> for testing against regressions and BC breaks, they should always be
>> runnable using any PHP version?
> BC tests and easiness are two of the reasons why we have a
> donwloadable phpt packages on the windows download pages.
>> Some changes / improvements are of course needed for the run-tests.php but
>> IIRC, someone was rewriting it already?
> Can we use this svn link/external somehow? Having one module for the
> tests but you get them when checking out a php-src branch. Gwynne can
> certainly answer this question :)


Yes, this is quite possible. It's not quite as clean and smooth as CVS' modules support
was, which is a continuing source of annoyance to me about SVN, but it's not too terribly
painful either. Just the usual svn:externals properly on the php-src branches pointing to whereever
the tests end up will do nicely.

For the record, my standing:

PHP 5.4: -1
PHP 6: -1
PHP 7 with new Unicode stuff: +1

-- Gwynne



Thread (113 messages)

« previous php.internals (#47170) next »