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: [EMAIL PROTECTED] Gentoo Dev: [EMAIL PROTECTED] SysCP Dev: [EMAIL PROTECTED] TILUG Supporter: [EMAIL PROTECTED]
signature.asc
Description: OpenPGP digital signature