summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/faultTolerance/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/faultTolerance/run.py')
-rwxr-xr-xcpp/test/Ice/faultTolerance/run.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/cpp/test/Ice/faultTolerance/run.py b/cpp/test/Ice/faultTolerance/run.py
index dc18f80256d..5b579189936 100755
--- a/cpp/test/Ice/faultTolerance/run.py
+++ b/cpp/test/Ice/faultTolerance/run.py
@@ -33,10 +33,7 @@ base = 12340
for i in range(0, num):
print "starting server #%d..." % (i + 1),
- commandLine = TestUtil.getCommandLine(server, TestUtil.DriverConfig("server")) + " %d" % (base + i)
- if TestUtil.isDebug():
- print "(" + commandLine + ")",
- serverPipe = os.popen(commandLine + " 2>&1")
+ serverPipe = TestUtil.startServer(server, "%d" % (base + i))
TestUtil.getServerPid(serverPipe)
TestUtil.getAdapterReady(serverPipe)
print "ok"
@@ -46,10 +43,7 @@ for i in range(0, num):
ports = "%s %d" % (ports, base + i)
print "starting client...",
-commandLine = TestUtil.getCommandLine(client, TestUtil.DriverConfig("client")) + " " + ports
-if TestUtil.isDebug():
- print "(" + commandLine + ")",
-clientPipe = os.popen(commandLine + " 2>&1")
+clientPipe = TestUtil.startClient(client, ports)
print "ok"
TestUtil.printOutputFromPipe(clientPipe)