summaryrefslogtreecommitdiffstats
path: root/db46ff6bc2b3401ac7f4c90b699b005ad678db44.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-10-18 05:28:35 +0200
committerRemi Collet <remi@remirepo.net>2017-10-18 05:28:35 +0200
commitdf7e0f9ddcba4fa508972960eb521cc7dd35215c (patch)
tree72999041c8893cb0d09860761302b204bcb30f76 /db46ff6bc2b3401ac7f4c90b699b005ad678db44.patch
parent69d8242386a1f933a947cd01c1f26c35accc81d2 (diff)
fix test suite
Diffstat (limited to 'db46ff6bc2b3401ac7f4c90b699b005ad678db44.patch')
-rw-r--r--db46ff6bc2b3401ac7f4c90b699b005ad678db44.patch22
1 files changed, 22 insertions, 0 deletions
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 <remi@remirepo.net>
+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 )
+ {