Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88930 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75623 invoked from network); 24 Oct 2015 05:48:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2015 05:48:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.182 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.212.182 mail-wi0-f182.google.com Received: from [209.85.212.182] ([209.85.212.182:36607] helo=mail-wi0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 42/E2-55100-6AB1B265 for ; Sat, 24 Oct 2015 01:48:23 -0400 Received: by wicfx6 with SMTP id fx6so54576202wic.1 for ; Fri, 23 Oct 2015 22:48:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=LHZ2ZxE4O6TTd3JLuX9qrUVdSMVgRsfT9XP2V76joMs=; b=XL/4TBBj+VzdEYq6UkZzvoRJhG2HyqwcN/V9tytBkVQbIzhoWFYpBn+WQv+L30LFuf f6Lq2DaqHRmKdeW8n7+Qy+81fr8z83EQ0uPgPEWM9XkwqPjiqMbj5ErE4Rhsy0W5UUB7 B+z4WZYMchYxGRwLxXfWSe5rqHonKoyWlGiTy0IWWkithPSjx6jVG+mGX74MhkFs0uJI OkytUzsW3yNjDZACPH820GrBY3PPb3qzzPcJ75q1ukmhBn5r+shndzMAXxsBxag+JkFs GtGrBqbyCIHwrOkFJwfl2AxumYVC8DHLlg7bofbZ22lXPbUHXaYJiaU/AFDJ1qsIX/Wv QKPQ== MIME-Version: 1.0 X-Received: by 10.194.24.201 with SMTP id w9mr5856929wjf.71.1445665699082; Fri, 23 Oct 2015 22:48:19 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.28.128.81 with HTTP; Fri, 23 Oct 2015 22:48:18 -0700 (PDT) In-Reply-To: <562AD91A.6080500@php.net> References: <562AD91A.6080500@php.net> Date: Sat, 24 Oct 2015 07:48:18 +0200 X-Google-Sender-Auth: TmccydTQ7G_CsyHTRBi_GcOrPl0 Message-ID: To: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= Cc: PHP internals , Derick Rethans Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] run-tests.php and dynamic extension dependencies From: kalle@php.net (Kalle Sommer Nielsen) Hi Fran=C3=A7ois 2015-10-24 3:04 GMT+02:00 Fran=C3=A7ois Laupretre : > Hi, > > 4 years ago, Derick proposed a patch to add an '--EXTENSIONS--' section i= n > phpt files for extensions depending on another one > (http://grokbase.com/t/php/php-internals/11bwptaj78/run-tests-php-and-dyn= amic-extension-dependencies). > I don't know why, but it seems the patch was not commited. I'm not sure why either, but I would only welcome such as it does make testing some extensions much easier, like we have some extensions that at least in the past, like ext/exif and ext/mbstring that was never compiled statically on Windows. Meaning the only way we could test them was by doing something like by making a php.ini with the following content in the output directory: [php] extension_dir =3D ./ extension =3D php_mbstring.dll extension =3D php_exif.dll ... You can specify in a command line argument to run-tests.php which php.ini you wish loaded, or none at all afair which should ease not having to modify makefiles and such. --=20 regards, Kalle Sommer Nielsen kalle@php.net