Re: Tests that require other modules in PECL test suites?

From: Date: Fri, 08 May 2020 09:53:50 +0000
Subject: Re: Tests that require other modules in PECL test suites?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-327149@lists.php.net to get a copy of this message
On 07.05.2020 at 17:48, Calvin Buckley wrote: > Forgive me if this isn't the right place for it, but I'm running the > test suite for a PECL module, but some of the tests require SimpleXML. > However, the PHP on my system builds the XML modules as shared external > modules, and the test environment explicitly loads only the module I'm > testing, some tests fail. Is there a way to get PHP to include those > modules, or am I doomed to having to make those tests skip instead of > fail? If you're using run-tests.php, it should be possible to supply a suitable php.ini by simply placing it besides the TEST_PHP_EXECUTABLE. -- Christoph M. Becker

« previous php.general (#327149) next »