Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29544 invoked by uid 1010); 4 Dec 2006 19:38:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29529 invoked from network); 4 Dec 2006 19:38:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2006 19:38:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 81.169.182.136 cause and error) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from [81.169.182.136] ([81.169.182.136:33009] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/27-12160-FE874754 for ; Mon, 04 Dec 2006 14:37:54 -0500 Received: from baumbart.mbo (dslb-084-063-083-156.pools.arcor-ip.net [84.63.83.156]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 305E8610004; Mon, 4 Dec 2006 20:37:16 +0100 (CET) Date: Mon, 4 Dec 2006 20:37:23 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <135378809.20061204203723@marcus-boerger.de> To: Luca Longinotti Cc: PHP internals In-Reply-To: <4571ECDF.5050500@gentoo.org> References: <873756B2-DE0A-42F4-AC5A-04FFF0A42592@facebook.com> <789985652.20061201094215@marcus-boerger.de> <4C7F9544-36F0-4E82-A0AC-D81A863DC11A@facebook.com> <1189866595.20061202002133@marcus-boerger.de> <18C9DE1F-296B-4F67-86A8-23730D612A51@prohost.org> <4571ECDF.5050500@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] make test flag? From: helly@php.net (Marcus Boerger) Hello Luca, we cannot do that. This patchwould prevent loading of any shared extension. And we decided against using dl() in the test scripts some years ago. The only thing we can do here is having a new make thing that does pass -n to the test script. Once again, we test what you will be using, not only part of it. If a deployment system hass a problemwith that we need tofind otehr solutions. In fact we already have anenvironment variable today that serves the purpose. Simply set TEST_PHP_ARGS=-n and be done (if you know what it really does) :-) best regards marcus Saturday, December 2, 2006, 10:15:11 PM, you wrote: > 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, Marcus