Re: run-tests.php and dynamic extension dependencies

From: Date: Sat, 24 Oct 2015 05:48:18 +0000
Subject: Re: run-tests.php and dynamic extension dependencies
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-88930@lists.php.net to get a copy of this message
Hi François 2015-10-24 3:04 GMT+02:00 François Laupretre <francois@php.net>: > Hi, > > 4 years ago, Derick proposed a patch to add an '--EXTENSIONS--' section in > phpt files for extensions depending on another one > > (http://grokbase.com/t/php/php-internals/11bwptaj78/run-tests-php-and-dynamic-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 = ./ extension = php_mbstring.dll extension = 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. -- regards, Kalle Sommer Nielsen kalle@php.net

« previous php.internals (#88930) next »