summaryrefslogtreecommitdiff
path: root/dev-lang/php/files
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2023-07-26 08:53:33 -0400
committerMichael Orlitzky <mjo@gentoo.org>2023-07-30 20:49:09 -0400
commit517dfe205cd1a9c476f44dfc0eae7b78bb23e910 (patch)
tree8517a41d2f27ba249369ecc8d74ee9d153ba1020 /dev-lang/php/files
parent122275459836fd8355e3b3fd8b1037b5e6c5e7af (diff)
downloadgentoo-517dfe205cd1a9c476f44dfc0eae7b78bb23e910.tar.gz
gentoo-517dfe205cd1a9c476f44dfc0eae7b78bb23e910.tar.bz2
gentoo-517dfe205cd1a9c476f44dfc0eae7b78bb23e910.zip
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>
Diffstat (limited to 'dev-lang/php/files')
-rw-r--r--dev-lang/php/files/php-8.2.8-openssl-tests.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-lang/php/files/php-8.2.8-openssl-tests.patch b/dev-lang/php/files/php-8.2.8-openssl-tests.patch
new file mode 100644
index 000000000000..ebade4c0cd45
--- /dev/null
+++ b/dev-lang/php/files/php-8.2.8-openssl-tests.patch
@@ -0,0 +1,21 @@
+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