Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26880 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37961 invoked by uid 1010); 9 Dec 2006 20:49:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37946 invoked from network); 9 Dec 2006 20:49:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2006 20:49:13 -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:52868] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/28-50161-5212B754 for ; Sat, 09 Dec 2006 15:49:12 -0500 Received: from baumbart.mbo (dslb-084-063-048-153.pools.arcor-ip.net [84.63.48.153]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id BC66D610285; Sat, 9 Dec 2006 21:48:34 +0100 (CET) Date: Sat, 9 Dec 2006 21:48:33 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1748188472.20061209214833@marcus-boerger.de> To: Brian Shire Cc: Luca Longinotti , PHP internals In-Reply-To: <360229B4-DDBE-4C02-8C2C-F7E68D2F2AA2@facebook.com> 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> <135378809.20061204203723@marcus-boerger.de> <360229B4-DDBE-4C02-8C2C-F7E68D2F2AA2@facebook.com> 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 Brian, I am not yet convinced we need to do anything. If one wants to execute non default test environment then one can simply use the environment variables and be done. It sounds pretty much as that is a problem of people writing deployment scripts. Actualyl the problem seems to be finding the documentation. And that has been addressed by Ligaya and myself lately. Though I do not know if it has been addressed enough already. Saturday, December 9, 2006, 9:00:40 PM, you wrote: > Hello Marcus, > On Dec 4, 2006, at 11:37 AM, Marcus Boerger wrote: >> 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. > Does this mean a patch should be re-worked so that there's a second > type of 'make test' that includes the -n option, that we want to > include the -n in the default 'make test', or that we just need a > different solution completely (or none at all)? Another more > complicated solution that I thought of but didn't explore is to > provide the ability to ignore duplicate extensions for the make > tests. Although this may complicate the php cli for something that > is a pretty specific scenario. The test harness can alsoaddress this issue. It can enforce a certain binary to be tested. But I do not know if that is enough for you. From my perspective the idea was to run the tests from any installed php and then execute all tests by CLI or CGI. And in the sapi/*/tests directories tests would request a certain binary. If there is any issue with that we need to work on that. >> 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) :-) > Didn't realize this existed, would it be preferred to try and have a > DSO extensions set TEST_PHP_ARGS to avoid this situation? If that works for you my initial comment is true. If not I think we should indeed discuss specific test targets. > Thanks, > -Brian Shire > shire@facebook.com > shire@php.net > aim: int80h Best regards, Marcus