diff options
author | Joe George <joe@zeroc.com> | 2016-12-12 12:44:55 -0500 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2016-12-12 12:50:09 -0500 |
commit | 8084af97d24e0f87e9c450065557aeefbcad535e (patch) | |
tree | 492d1844b4db87b5992ac398fc8d9815bc177f7d /scripts/Util.py | |
parent | Python fixes (diff) | |
download | ice-8084af97d24e0f87e9c450065557aeefbcad535e.tar.bz2 ice-8084af97d24e0f87e9c450065557aeefbcad535e.tar.xz ice-8084af97d24e0f87e9c450065557aeefbcad535e.zip |
Fix warnings during PHP testing
PHP should not load php.ini files when we define extension_dir during
testing. This results in lots of warnings as PHP tries load other
libraries which do not exist from the Ice for PHP extension directory.
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Util.py b/scripts/Util.py index e918d258872..ef11c379bb2 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -2208,6 +2208,7 @@ class PhpMapping(CppBasedClientMapping): # the properties. # if(isinstance(platform, Darwin)): + args += ["-n"] # Do not load any php.ini files args += ["-d", "extension_dir=/usr/local/lib/php/extensions"] args += ["-d", "include_path=/usr/local/share/php"] args += ["-d", "extension=IcePHP.so"] @@ -2222,6 +2223,7 @@ class PhpMapping(CppBasedClientMapping): extensionDir = self.getLibDir(process, current) includePath = "{0}/{1}".format(current.driver.getIceDir(self), "php" if useBinDist else "lib") + args += ["-n"] # Do not load any php.ini files args += ["-d", "extension_dir='{0}'".format(extensionDir)] args += ["-d", "extension='{0}'".format(extension)] args += ["-d", "include_path='{0}'".format(includePath)] |