From df7e0f9ddcba4fa508972960eb521cc7dd35215c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Oct 2017 05:28:35 +0200 Subject: fix test suite --- db46ff6bc2b3401ac7f4c90b699b005ad678db44.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 db46ff6bc2b3401ac7f4c90b699b005ad678db44.patch (limited to 'db46ff6bc2b3401ac7f4c90b699b005ad678db44.patch') diff --git a/db46ff6bc2b3401ac7f4c90b699b005ad678db44.patch b/db46ff6bc2b3401ac7f4c90b699b005ad678db44.patch new file mode 100644 index 0000000..b8e7a3b --- /dev/null +++ b/db46ff6bc2b3401ac7f4c90b699b005ad678db44.patch @@ -0,0 +1,22 @@ +From db46ff6bc2b3401ac7f4c90b699b005ad678db44 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Tue, 17 Oct 2017 18:08:56 +0200 +Subject: [PATCH] honours TEST_PHP_ARGS for sub-process + +--- + tests/dbgp/dbgpclient.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/dbgp/dbgpclient.php b/tests/dbgp/dbgpclient.php +index 3b7a2bce..337409fc 100644 +--- a/tests/dbgp/dbgpclient.php ++++ b/tests/dbgp/dbgpclient.php +@@ -70,7 +70,7 @@ private function launchPhp( &$pipes, array $ini_options = null ) + $ini_options = array(); + } + +- $options = ''; ++ $options = (getenv('TEST_PHP_ARGS') ?: ''); + $ini_options = array_merge( $default_options, $ini_options ); + foreach ( $ini_options as $key => $value ) + { -- cgit