running tests for shared extensions, compiled out of php src tree
| From: | Pierre-Alain Joye | Date: | Wed, 07 Jan 2004 13:35:14 +0000 |
| Subject: | running tests for shared extensions, compiled out of php src tree | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-6822@lists.php.net to get a copy of this message | ||
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