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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've been using `make test`. Setting some environment variables with
run-tests worked - after symbolically linking the dependent extension
into the build artifacts and with an ugly command line. Not complaining
though - it works now. Thanks!

On Fri, 2020-05-08 at 11:53 +0200, Christoph M. Becker wrote:
> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux