Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56644 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2580 invoked from network); 28 Nov 2011 13:28:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2011 13:28:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qy0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:38782] helo=mail-qy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/B1-21284-38C83DE4 for ; Mon, 28 Nov 2011 08:28:36 -0500 Received: by qyk33 with SMTP id 33so3399752qyk.29 for ; Mon, 28 Nov 2011 05:28:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1y7UjwxgkFMVRAr9hZBm1Ti1jmYzu0WUyLeYWF2HRiA=; b=hGVVspiO6qUw37JyNfvrOY+BlZSZX3UGhJr1oQOyS/OZcIzJ7jGATNEZY6voDFmTA/ N6PTjuJa4i2GXQpIr6+PzFwtn04iz8l6a73dhI/K1Dp+sEe6d96rzSm2H9Io9m1S6mSb vjnHF28ER9R/HwiVfKbWf7Iv5VLwPqjQ91wJs= MIME-Version: 1.0 Received: by 10.229.29.69 with SMTP id p5mr4551849qcc.19.1322486913060; Mon, 28 Nov 2011 05:28:33 -0800 (PST) Received: by 10.229.38.134 with HTTP; Mon, 28 Nov 2011 05:28:33 -0800 (PST) In-Reply-To: References: Date: Mon, 28 Nov 2011 14:28:33 +0100 Message-ID: To: Derick Rethans Cc: PHP Developers Mailing List Content-Type: multipart/alternative; boundary=0016e65d1962ac50bf04b2cb7a77 Subject: Re: [PHP-DEV] run-tests.php and dynamic extension dependencies From: tyra3l@gmail.com (Ferenc Kovacs) --0016e65d1962ac50bf04b2cb7a77 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Nov 28, 2011 at 2:11 PM, Derick Rethans wrote: > Hi, > > I'm currently writing a shared extension thta depends on another shared > extension (igbinary). "make test" doesn't handle this at the moment, > because it removes every extension=3D line from it's temporary php.ini. > This means that the dependent extension (igbinary) now isn't loaded, > which means my extension doesn't load either and obviously all the tests > fail. > > I've attached a patch that adds a new --EXTENSIONS-- section to the PHPT > format. The run-tests.php script makes sure that all extensions in that > last are added to the PHP command with -dextension=3D... , but only if > they're not build in (or already loaded in some other way). > > The patch is simple, and it doesn't touch any other section or > functionality so I'm suggesting to commit it to PHP 5.3/5.4 and trunk > some time soon. > wouldn't --INI-- + extension do the same? --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --0016e65d1962ac50bf04b2cb7a77--