diff options
author | Jose <jose@zeroc.com> | 2017-03-16 16:11:24 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-03-16 16:11:24 +0100 |
commit | c6f4057a8975e2312d82f22af59f2069d2b5e8ab (patch) | |
tree | 1312f2c5798821dd8b4c583f30983542d9528790 /scripts/Util.py | |
parent | Removed C# Ice.BatchRequestInterceptor (ICE-7662) (diff) | |
download | ice-c6f4057a8975e2312d82f22af59f2069d2b5e8ab.tar.bz2 ice-c6f4057a8975e2312d82f22af59f2069d2b5e8ab.tar.xz ice-c6f4057a8975e2312d82f22af59f2069d2b5e8ab.zip |
Fixed (ICE-7621) - Refactor IceSSL API to support multiple implementations
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/Util.py b/scripts/Util.py index 2bf93f480f6..3f6e66b4745 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -423,7 +423,7 @@ class Mapping: @classmethod def getSupportedArgs(self): return ("", ["config=", "platform=", "protocol=", "compress", "ipv6", "serialize", "mx", - "cprops=", "sprops=", "uwp"]) + "cprops=", "sprops=", "uwp", "openssl"]) @classmethod def usage(self): @@ -443,6 +443,7 @@ class Mapping: print("--config=<config> Build configuration for native executables.") print("--platform=<platform> Build platform for native executables.") print("--uwp Run UWP (Universal Windows Platform).") + print("--openssl Run SSL tests with OpenSSL instead of the default platform SSL engine.") def __init__(self, options=[]): # Build configuration @@ -467,7 +468,11 @@ class Mapping: self.cprops = [] self.sprops = [] self.uwp = False - parseOptions(self, options, { "config" : "buildConfig", "platform" : "buildPlatform", "uwp" : "uwp" }) + self.openssl = False + parseOptions(self, options, { "config" : "buildConfig", + "platform" : "buildPlatform", + "uwp" : "uwp", + "openssl" : "openssl" }) def __str__(self): s = [] @@ -2493,7 +2498,7 @@ class CppMapping(Mapping): def getPluginEntryPoint(self, plugin, process, current): return { - "IceSSL" : "IceSSL:createIceSSL", + "IceSSL" : "IceSSLOpenSSL:createIceSSLOpenSSL" if current.config.openssl else "IceSSL:createIceSSL", "IceBT" : "IceBT:createIceBT", "IceDiscovery" : "IceDiscovery:createIceDiscovery" }[plugin] |