Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6822 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52015 invoked by uid 1010); 7 Jan 2004 13:35:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51991 invoked from network); 7 Jan 2004 13:35:15 -0000 Received: from unknown (HELO smtp2.netcologne.de) (194.8.194.218) by pb1.pair.com with SMTP; 7 Jan 2004 13:35:15 -0000 Received: from localhost.localdomain (xdsl-195-14-223-85.netcologne.de [195.14.223.85]) by smtp2.netcologne.de (Postfix) with SMTP id B9F893A15E for ; Wed, 7 Jan 2004 14:35:14 +0100 (MET) Date: Wed, 7 Jan 2004 14:35:14 +0100 To: internals@lists.php.net Message-ID: <20040107143514.3f4086ae.paj@pearfr.org> Organization: Freelancer X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: running tests for shared extensions, compiled out of php src tree From: paj@pearfr.org (Pierre-Alain Joye) 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