Re: make test flag?
| From: | Luca Longinotti | Date: | Sat, 02 Dec 2006 21:15:11 +0000 |
| Subject: | Re: make test flag? | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26767@lists.php.net to get a copy of this message | ||
Ilia Alshanetsky wrote:
> On 1-Dec-06, at 6:21 PM, Marcus Boerger wrote:
>
>> Hello Brian,
>>
>> why should it do that? run-tests.php doesn't do anything with
>> extensions.
>> Meaning it only tests when you load your .so's by ini.
>
> You can't really tell PHP to "unload" modules via an INI settings, so I
> think adding -n in there is a pretty good idea.
It is, in fact we already do it in Gentoos PHP, to avoid already
installed extensions interfering with the main PHP packages "make test"
(on reinstalls or upgrades for example).
Here are the patches I've made for this:
PHP 5.2.0
http://overlays.gentoo.org/proj/php/browser/patches/php-patches/5.2.0/php5/php5-make_test.patch
PHP 5.1.6
http://overlays.gentoo.org/proj/php/browser/patches/php-patches/5.1.6/php5/php5-make_test.patch
PHP 4.4.4
http://overlays.gentoo.org/proj/php/browser/patches/php-patches/4.4.4/php4/php4-make_test.patch
You're probably not interested in the changes to the Makefiles and the
CGI/PHP4 testing changes I've done to meet Gentoos requirements, so just
skip those.
--
Best regards,
Luca Longinotti aka CHTEKK
LongiTEKK Networks Admin: chtekk@longitekk.com
Gentoo Dev: chtekk@gentoo.org
SysCP Dev: chtekk@syscp.org
TILUG Supporter: chtekk@tilug.ch
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc