summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-02-06 16:44:50 +0100
committerBenoit Foucher <benoit@zeroc.com>2018-02-06 16:44:50 +0100
commit4267b196189990c9f3c9a483c8251e1635a426c1 (patch)
treeae9d6540127d28301f4e946f92cb9318fdb82109 /scripts/Util.py
parentAdded loopback addresses to published endpoints if no other adresses are avai... (diff)
downloadice-4267b196189990c9f3c9a483c8251e1635a426c1.tar.bz2
ice-4267b196189990c9f3c9a483c8251e1635a426c1.tar.xz
ice-4267b196189990c9f3c9a483c8251e1635a426c1.zip
Fixed JS exception test failure (ICE-8640)
Removed getCommandLineWithArgs from Util.py. It was introduced with the Matlab mapping but doesn't appear to be needed anymore.
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py17
1 files changed, 5 insertions, 12 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index 927350737a3..1ba1f80f452 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -916,9 +916,6 @@ class Mapping:
else:
return exe
- def getCommandLineWithArgs(self, current, process, exe, args):
- return self.getCommandLine(current, process, exe) + " " + args
-
def getProps(self, process, current):
props = {}
if isinstance(process, IceProcess):
@@ -1215,9 +1212,6 @@ class Process(Runnable):
def getCommandLine(self, current):
return self.getMapping(current).getCommandLine(current, self, self.getExe(current))
- def getCommandLineWithArgs(self, current, args):
- return self.getMapping(current).getCommandLineWithArgs(current, self, self.getExe(current), args)
-
#
# A simple client (used to run Slice/IceUtil clients for example)
#
@@ -1926,8 +1920,8 @@ class LocalProcessController(ProcessController):
if current.driver.valgrind:
cmd += "valgrind -q --child-silent-after-fork=yes --leak-check=full --suppressions=\"{0}\" ".format(
os.path.join(toplevel, "config", "valgrind.sup"))
- exe = process.getCommandLineWithArgs(current, (" " + " ".join(args) if len(args) > 0 else "").format(**kargs))
- cmd += exe
+ exe = process.getCommandLine(current)
+ cmd += (exe + (" " + " ".join(args) if len(args) > 0 else "")).format(**kargs)
if current.driver.debug:
if len(envs) > 0:
@@ -3352,12 +3346,11 @@ class MatlabMapping(CppBasedClientMapping):
mappingName = "matlab"
mappingDesc = "MATLAB"
- def getCommandLineWithArgs(self, current, process, exe, args):
- return "matlab -nodesktop -nosplash -wait -log -minimize -r \"cd '{0}', runTest {1} {2} {3}\"".format(
+ def getCommandLine(self, current, process, exe):
+ return "matlab -nodesktop -nosplash -wait -log -minimize -r \"cd '{0}', runTest {1} {2}\"".format(
os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "matlab", "test", "lib")),
self.getTestCwd(process, current),
- os.path.join(current.config.buildPlatform, current.config.buildConfig),
- args)
+ os.path.join(current.config.buildPlatform, current.config.buildConfig))
def getDefaultSource(self, processType):
return { "client" : "client.m" }[processType]