[php-src] PR #11373: When running FPM tests, pass -n option to php-fpm
| From: | tstarling | Date: | Mon, 05 Jun 2023 01:08:17 +0000 |
| Subject: | [php-src] PR #11373: When running FPM tests, pass -n option to php-fpm | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22662@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11373
Author: tstarling
"make test" was failing for me, because I was running it prior to
install, and there was an old installed version which was incompatible.
The FPM tests were using the installed php.ini which referenced
installed dynamically linked extensions.
So, pass -n to php-fpm.
FPM\Tester::start() has $extensions, $iniEntries and
TEST_FPM_EXTENSION_DIR but they are not actually set by anything. Rather
than rely on the installed php.ini to be correct, it seems safer to pass
-n, and any tests that need specific config can pass $iniEntries.