Hello,
I think we should add some stuffs to be able to run the tests using a
shared extension, outside the php source tree.
Some changes are required in phpize and run-tests.php as well as in the
Makefile.
some quick thoughts:
-
Add the run-tests.php to the top level sources tree
or -
Install run-tests.php on make install
-
Test should be called using $(SAPI_CLI_PATH)
$(top_src_dir)/run-tests.php $(top_src_dir)/tests/
or $(libdir)/tests/run-tests.php -
A way to load the Ext, in the ini section?
or let the authors load it again in FILE using dl?
I would like to get some feedbacks and/or comments. And if it is
possible or not to make these changes. That should help a lot QA
processes for extensions and pecl extensions (ie running them from pear
install foobar).
pierre
Pierre-Alain Joye wrote:
Some changes are required in phpize and run-tests.php as well as in the
Makefile.some quick thoughts:
[...]
- make all run-tests.php settings controlable using command line options
instead of the current mix of command line and environment settings
i had already started this some time last year but somehow never finised,
hope i can still find the modified script ...
--
Hartmut Holzgraefe <hartmut@php.net