Hi François

2015-10-24 3:04 GMT+02:00 François Laupretre <franc...@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
ka...@php.net

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to