Re: Re: role="test" and dir structure

From: Date: Thu, 29 Jan 2004 09:06:36 +0000
Subject: Re: Re: role="test" and dir structure
References: 1  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-423@lists.php.net to get a copy of this message
Lorenzo Alberton wrote:
On Wed, 28 Jan 2004 19:16:12 +0100, Pierre-Alain Joye wrote:
On Wed, 28 Jan 2004 17:43:59 +0100 Lorenzo Alberton <l.alberton@quipo.it> wrote:
1) if a package has a testsuite not done with PHPUnit, but with SimpleTest [1], should the test files be labelled with role="test" in package.xml? I ask because I heard some complaints about it throwing a whole bunch of errors when running the PEAR builds. It should be safer a role="doc", then, even if they're really tests...
They should definatly be put in as test so that they end up in the correct directory. If there are any issues please test and let us know!
2) if an already released package doesn't follow the guidelines [2] on package directory structure, should it be fixed on a later release, or left as-is for BC purposes? NB: I'm not talking about php files, I'm talking about /doc/ => /docs/, /test/ => /tests/ and such things.
You can safely change them.
Change them for the next release. regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.pear.qa (#423) next »