diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-09-30 10:35:36 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-09-30 10:35:36 +0200 |
commit | ee6c76164b5087e86cfe859f87af0441b047c2f8 (patch) | |
tree | 65235e128858482906f7e1aace1cbd08b1c21e14 | |
parent | Fix (ICE-7391) Ice/optional(Bidir) test error (diff) | |
download | ice-ee6c76164b5087e86cfe859f87af0441b047c2f8.tar.bz2 ice-ee6c76164b5087e86cfe859f87af0441b047c2f8.tar.xz ice-ee6c76164b5087e86cfe859f87af0441b047c2f8.zip |
Fixed ICE-7394 - php test failures on Windows
-rwxr-xr-x | scripts/TestUtil.py | 4 |
1 files changed, 4 insertions, 0 deletions
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) |