Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26747 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38262 invoked by uid 1010); 1 Dec 2006 08:42:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 38247 invoked from network); 1 Dec 2006 08:42:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Dec 2006 08:42:55 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=permerror; 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:58325] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/66-20970-AEAEF654 for ; Fri, 01 Dec 2006 03:42:53 -0500 Received: from baumbart.mbo (dslb-084-063-060-251.pools.arcor-ip.net [84.63.60.251]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id B58BD610287; Fri, 1 Dec 2006 09:42:15 +0100 (CET) Date: Fri, 1 Dec 2006 09:42:15 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <789985652.20061201094215@marcus-boerger.de> To: Brian Shire Cc: PHP internals In-Reply-To: <873756B2-DE0A-42F4-AC5A-04FFF0A42592@facebook.com> References: <873756B2-DE0A-42F4-AC5A-04FFF0A42592@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, therun-tests.php command will take care of any INI settings that are known to break tests.So if anyof your INI settings cause tests to failwe simply need to include them into the tests. Othewise it is important to test with your INI settings asyou want to know if your PHP installation works. Instead of knowing whether PHP in general could work. best regards marcus Friday, December 1, 2006, 3:25:15 AM, you wrote: > I noticed the make test command may need the "-n" flag added so that > it will exclude already installed ini files. Specifically this > causes a problem when running make test on a system that already has > the same DSO installed so it tries to load it twice (once via the > installed ini and again for the test). Perhaps there's other places > where this causes problems? ... > " -n No php.ini file will be used" > diff --git a/Makefile.global b/Makefile.global > index ec86927..237c1a6 100644 > --- a/Makefile.global > +++ b/Makefile.global > @@ -74,7 +74,7 @@ test: all > TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \ > TEST_PHP_SRCDIR=$(top_srcdir) \ > CC="$(CC)" \ > - $(PHP_EXECUTABLE) -d 'open_basedir=' -d 'safe_mode=0' -d > 'output_buffering=0' -d 'memory_limit=-1' $(top_srcdir)/run-tests.php > -d 'extension_dir=modules/' -d `( . $(PHP_MODULES) ; echo extension=$ > $dlname)` tests/; \ > + $(PHP_EXECUTABLE) -d 'open_basedir=' -d 'safe_mode=0' -d > 'output_buffering=0' -d 'memory_limit=-1' $(top_srcdir)/run-tests.php > -n -d 'extension_dir=modules/' -d `( . $(PHP_MODULES) ; echo > extension=$$dlname)` tests/; \ > elif test ! -z "$(SAPI_CLI_PATH)" && test -x "$(SAPI_CLI_PATH)"; then \ > TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \ > TEST_PHP_SRCDIR=$(top_srcdir) \ > -Brian Shire > shire@facebook.com > shire@php.net > aim: int80h Best regards, Marcus