[php-src] PR #16733: ext/soap: fix `make check` being invoked in `ext/soap`
| From: | Ma27 | Date: | Fri, 08 Nov 2024 18:44:08 +0000 |
| Subject: | [php-src] PR #16733: ext/soap: fix `make check` being invoked in `ext/soap` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29556@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16733
Author: Ma27
On NixOS we run
make & make check inside ext/soap which
broke the test like this:
001+ Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't
load from 'ext/soap/tests/gh15711.wsdl' : failed to load
"ext/soap/tests/gh15711.wsdl": No such file or directory
002+ in /build/php-8.3.13/ext/soap/tests/gh15711.php:29
003+ Stack trace:
004+ #0 /build/php-8.3.13/ext/soap/tests/gh15711.php(29):
SoapClient->__construct('ext/soap/tests/...', Array)
005+ #1 {main}
006+ thrown in /build/php-8.3.13/ext/soap/tests/gh15711.php on line 29
Fix is to make the path dependant on __DIR__ as it's the case in other testcases
including WSDLs.