summaryrefslogtreecommitdiffstats
path: root/db46ff6bc2b3401ac7f4c90b699b005ad678db44.patch
blob: b8e7a3bdb5aa72134032bf036ae5ef9b2fc45835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 )
 		{