From ee6c76164b5087e86cfe859f87af0441b047c2f8 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Fri, 30 Sep 2016 10:35:36 +0200 Subject: Fixed ICE-7394 - php test failures on Windows --- scripts/TestUtil.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/TestUtil.py') diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index 831bc389b8f..1f58b90c991 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -791,9 +791,13 @@ def phpFlags(): sys.exit(1) if extDir: + if extDir.find(" ") != -1: + extDir = "\"{0}\"".format(extDir) flags.append("-d extension_dir='%s'" % extDir) flags.append("-d extension='%s'" % ext) if incDir: + if incDir.find(" ") != -1: + incDir = "\"{0}\"".format(incDir) flags.append("-d include_path='%s'" % incDir) return ' '.join(flags) -- cgit v1.2.3