diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-11-28 14:32:20 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-11-28 14:32:20 +0100 |
commit | 50013d212e3c3fd0aa5acaaa1ed1c504ca0ef290 (patch) | |
tree | f9700ab294dae16c4628a6ad3e29ba8d7f83c14b /scripts/Util.py | |
parent | Remove CSharp mono pkgconfig files (diff) | |
download | ice-50013d212e3c3fd0aa5acaaa1ed1c504ca0ef290.tar.bz2 ice-50013d212e3c3fd0aa5acaaa1ed1c504ca0ef290.tar.xz ice-50013d212e3c3fd0aa5acaaa1ed1c504ca0ef290.zip |
Fixed staticFiltering test failure, network proxy test hang, added support for builddir variable
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/scripts/Util.py b/scripts/Util.py index 73b792945e7..e00fc434db4 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -700,14 +700,14 @@ class Mapping: props = {} if isinstance(process, IceProcess): if current.config.protocol in ["bt", "bts"]: - props["Ice.Plugin.IceBT"] = self.getPluginEntryPoint("IceBT") + props["Ice.Plugin.IceBT"] = self.getPluginEntryPoint("IceBT", process, current) if current.config.protocol in ["ssl", "wss", "bts", "iaps"]: props.update(self.getSSLProps(process, current)) return props def getSSLProps(self, process, current): sslProps = { - "Ice.Plugin.IceSSL" : self.getPluginEntryPoint("IceSSL"), + "Ice.Plugin.IceSSL" : self.getPluginEntryPoint("IceSSL", process, current), "IceSSL.Password": "password", "IceSSL.DefaultDir": os.path.join(toplevel, "certs"), } @@ -917,6 +917,7 @@ class Process(Runnable): "process": self, "testcase": current.testcase, "testdir": current.testcase.getPath(), + "builddir": current.getBuildDir(self.getExe(current)), "icedir" : current.driver.getIceDir(current.testcase.getMapping()), } cmd = cmd.format(**kargs) @@ -1544,8 +1545,8 @@ class Driver: def getBuildDir(self, name): return self.testcase.getMapping().getBuildDir(name, self) - def getPluginEntryPoint(self, plugin): - return self.testcase.getMapping().getPluginEntryPoint(plugin) + def getPluginEntryPoint(self, plugin, process): + return self.testcase.getMapping().getPluginEntryPoint(plugin, process, self) def write(self, *args, **kargs): self.result.write(*args, **kargs) @@ -1727,7 +1728,7 @@ class CppMapping(Mapping): }) return props - def getPluginEntryPoint(self, plugin): + def getPluginEntryPoint(self, plugin, process, current): return { "IceSSL" : "IceSSL:createIceSSL", "IceBT" : "IceBT:createIceBT", @@ -1784,7 +1785,7 @@ class JavaMapping(Mapping): }) return props - def getPluginEntryPoint(self, plugin): + def getPluginEntryPoint(self, plugin, process, current): return { "IceSSL" : "com.zeroc.IceSSL.PluginFactory", "IceBT" : "com.zeroc.IceBT.PluginFactory", @@ -1812,7 +1813,7 @@ class JavaMapping(Mapping): class JavaCompatMapping(JavaMapping): - def getPluginEntryPoint(self, plugin): + def getPluginEntryPoint(self, plugin, process, current): return { "IceSSL" : "IceSSL.PluginFactory", "IceBT" : "IceBT.PluginFactory", @@ -1846,7 +1847,7 @@ class CSharpMapping(Mapping): }) return props - def getPluginEntryPoint(self, plugin): + def getPluginEntryPoint(self, plugin, process, current): return { "IceSSL" : "{icedir}/Assemblies/IceSSL.dll:IceSSL.PluginFactory", "IceDiscovery" : "{icedir}/Assemblies/IceDiscovery.dll:IceDiscovery.PluginFactory" @@ -1878,8 +1879,8 @@ class CppBasedMapping(Mapping): def getSSLProps(self, process, current): return Mapping.getByName("cpp").getSSLProps(process, current) - def getPluginEntryPoint(self, plugin): - return Mapping.getByName("cpp").getPluginEntryPoint(plugin) + def getPluginEntryPoint(self, plugin, process, current): + return Mapping.getByName("cpp").getPluginEntryPoint(plugin, process, current) def getEnv(self, process, current): env = Mapping.getEnv(self, process, current) |