diff options
author | Remi Collet <remi@remirepo.net> | 2022-12-01 16:14:03 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-12-01 16:14:03 +0100 |
commit | 879ad5bb32ab9182afce0db96a5a76702abfb50d (patch) | |
tree | 83bb6c604b6a032ef5b44c0082776dfdd45040f4 /16.patch |
open https://github.com/TysonAndre/immutable_cache-pecl/pull/16 - use TEST_PHP_ARGS
open https://github.com/TysonAndre/immutable_cache-pecl/pull/17 - mark igbinary as required
Diffstat (limited to '16.patch')
-rw-r--r-- | 16.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/16.patch b/16.patch new file mode 100644 index 0000000..a122569 --- /dev/null +++ b/16.patch @@ -0,0 +1,23 @@ +From 17dee351417758f8d30c49e26e3212e888100c4e Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Thu, 1 Dec 2022 15:21:51 +0100 +Subject: [PATCH] Use TEST_PHP_ARGS (from run-tests.php) instead of trying to + build it + +--- + tests/server_test.inc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/server_test.inc b/tests/server_test.inc +index a47c45c..1738f2a 100644 +--- a/tests/server_test.inc ++++ b/tests/server_test.inc +@@ -32,7 +32,7 @@ function server_start_one($host, $port, $code = 'echo "Hello world";', $php_opts + } else { + $php_args = "-d extension_dir=$doc_root/../modules"; + } +- $php_args = "$php_args -d extension=$ext"; ++ $php_args = (getenv('TEST_PHP_ARGS') ?: "$php_args -d extension=$ext"); + + if ($php_opts) { + $php_args = "$php_args -d " . implode(' -d ', $php_opts);; |