Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35979 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20736 invoked from network); 5 Mar 2008 19:44:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Mar 2008 19:44:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=hoffie@gentoo.org; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=hoffie@gentoo.org; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain gentoo.org does not designate 217.20.118.221 as permitted sender) X-PHP-List-Original-Sender: hoffie@gentoo.org X-Host-Fingerprint: 217.20.118.221 217.20.118.221 Received: from [217.20.118.221] ([217.20.118.221:54883] helo=srv.hoffie.info) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/40-45278-FF7FEC74 for ; Wed, 05 Mar 2008 14:44:03 -0500 Received: from [192.168.1.2] (p5494E288.dip.t-dialin.net [84.148.226.136]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by srv.hoffie.info (Postfix) with ESMTP id 2A45757EA8; Wed, 5 Mar 2008 20:43:56 +0100 (CET) Message-ID: <47CEF7F6.7060906@gentoo.org> Date: Wed, 05 Mar 2008 20:43:50 +0100 User-Agent: Thunderbird 2.0.0.12 (X11/20080301) MIME-Version: 1.0 To: jani.taskinen@iki.fi CC: phpxcache , php-dev List , php-bugs@gentoo.org References: <28139bc0712291916y2874424eg889334eeb462db81@mail.gmail.com> <4777A16D.9090309@gentoo.org> <1199101450.20679.6.camel@localhost.localdomain> <4778F46E.5000509@gentoo.org> In-Reply-To: <4778F46E.5000509@gentoo.org> X-Enigmail-Version: 0.95.6 OpenPGP: id=9CCF4998 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8747F3D65E13C1128DB596CD" Subject: Re: [PHP-DEV] bad test case that depends on user local ini From: hoffie@gentoo.org (Christian Hoffmann) --------------enig8747F3D65E13C1128DB596CD Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable On 2007-12-31 14:53, Christian Hoffmann wrote: > There is another problem though: Tests which spawn their own php > interpreter (such as Zend/tests/bug40236.phpt) do not load tmp-php.ini > but use the global ini file which does contain extension* directives. > These tests break. Ok, meanwhile I went through (hopefully) all test cases which spawn=20 their own PHP interpreter and made them use -n (as most of those tests=20 already do anyway). Would committing this patch [1] be a valid compromise? I've yet another patch [2] which makes run-tests.php PHP calls (for=20 determining PHP version etc.) use -n as well. The actual tests are still = run with whatever arguments the user supplies to run-tests.php itself. If those patches could be applied, it would really be nice. Average=20 users would still test with the global php ini to catch any regressions=20 / ini-specific bugs, while distributions could easily force usage of no=20 php.ini by simply passing -n as argument to run-tests.php. [1] http://home.hoffie.info/php_tests-ignore-php-ini.patch [2] http://home.hoffie.info/php_run-tests-ignore-php-ini.patch --=20 Christian Hoffmann --------------enig8747F3D65E13C1128DB596CD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHzvf6J9KLJlGHWYIRArKYAKClnizSz+M7VqMAMVt5fcaSvDPkCACg4ucC t6+bChY4OeNzqdfdh5ZIWTk= =0waq -----END PGP SIGNATURE----- --------------enig8747F3D65E13C1128DB596CD--