summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-03-18 11:37:37 +0100
committerJose <jose@zeroc.com>2019-03-18 11:37:37 +0100
commitab789d86b0fdc8256a48d6fff158a1b61a46ab4e (patch)
tree967e84d499f0bbd0b652c146cce35899643d2e60 /scripts/Util.py
parentFix for Proxies and local generated methods (diff)
downloadice-ab789d86b0fdc8256a48d6fff158a1b61a46ab4e.tar.bz2
ice-ab789d86b0fdc8256a48d6fff158a1b61a46ab4e.tar.xz
ice-ab789d86b0fdc8256a48d6fff158a1b61a46ab4e.zip
Use C++ Servers with Swift
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index c103a322811..9dfd2d89923 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -3783,7 +3783,11 @@ class TypeScriptMapping(JavaScriptMixin,Mapping):
def _getDefaultSource(self, processType):
return { "client" : "Client.ts", "serveramd" : "ServerAMD.ts", "server" : "Server.ts" }[processType]
-class SwiftMapping(Mapping):
+class SwiftMapping(CppBasedClientMapping):
+
+ class Config(CppBasedClientMapping.Config):
+ mappingName = "swift"
+ mappingDesc = "Swift"
def getCommandLine(self, current, process, exe, args):
testdir = self.component.getTestDir(self)
@@ -3797,11 +3801,8 @@ class SwiftMapping(Mapping):
args)
def _getDefaultSource(self, processType):
- return {
- "client" : "Client.swift",
- "server" : "Server.swift",
- "serveramd" : "AMDServer.swift",
- "collocated" : "Collocated.swift",
+ return { "client" : "Client.swift",
+ "server" : "Server.swift"
}[processType]
#