go to bug id or search bugs for
This is related to the patch introduced by Derick in 2011 (see http://grokbase.com/t/php/php-internals/11bwptaj78/run-tests-php-and-dynamic-extension-dependencies). The patch works well if dependency occurs at the PHP level. But, if there is a C-level dependency (C function call), it doesn't work because the tested extension is loaded *before* the extension it depends on (causing an 'Undefined symbol error).
Clone PCS extension from https://github.com/flaupretre/pecl-pcs.
Compile and install PCS
go to the examples/example1 subdirectory. This is an example extension depending on PCS.
phpize && ./configure && make
make test -> fail, every tests are skipped
Add a Patch
Add a Pull Request
I think this should go into 7.0.1 as well as the 5.x series, so green light from me for the first 7.0 patch release
Automatic comment on behalf of francois
Log: Fix bug #70781 (Extension tests fail on dynamic ext dependency)