gentoo-ebuilds/dev-lang/php/files/php-8.2.8-openssl-tests.patch
Michael Orlitzky 517dfe205c
dev-lang/php: improve testing in the 8.2 slot.
We had basically given up on the PHP test suite due to a high number of
"expected" failures. I've tried to track most of these down and
report/fix them upstream. In the meantime, all known failing tests have
been disabled one-at-a-time, with pointers to the upstream issue/PR. And
with that done, the test suite is once again run in anger; if it fails,
the installation will too.

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
2023-07-30 20:49:09 -04:00

21 lines
790 B
Diff

commit 5a4083181b970411d6f3b1c1e3bdd199d5cd1a5e
Author: Jakub Holubansky <jakub.holubansky@team.bumble.com>
Date: Fri Mar 31 17:20:35 2023 +0200
ext/openssl: pass ini options to extra processes in tests
diff --git a/ext/openssl/tests/ServerClientTestCase.inc b/ext/openssl/tests/ServerClientTestCase.inc
index 753366df6f..1b140b63f6 100644
--- a/ext/openssl/tests/ServerClientTestCase.inc
+++ b/ext/openssl/tests/ServerClientTestCase.inc
@@ -72,8 +72,9 @@ class ServerClientTestCase
);
} else {
$cmd = sprintf(
- '%s "%s" %s %s',
+ '%s %s "%s" %s %s',
PHP_BINARY,
+ getenv('TEST_PHP_EXTRA_ARGS'),
__FILE__,
WORKER_ARGV_VALUE,
$worker