diff options
Diffstat (limited to 'cpp/test/Ice/faultTolerance/run.py')
-rwxr-xr-x | cpp/test/Ice/faultTolerance/run.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/cpp/test/Ice/faultTolerance/run.py b/cpp/test/Ice/faultTolerance/run.py index 54c8a21422e..1357fe35c67 100755 --- a/cpp/test/Ice/faultTolerance/run.py +++ b/cpp/test/Ice/faultTolerance/run.py @@ -28,18 +28,23 @@ num = 8 base = 12340 serverPipes = { } +updatedServerOptions = TestUtil.serverOptions +updatedServerOptions = updatedServerOptions.replace("TOPLEVELDIR", toplevel) for i in range(0, num): print "starting server #%d..." % (i + 1), - serverPipes[i] = os.popen(server + TestUtil.serverOptions + " %d" % (base + i)) + serverPipes[i] = os.popen(server + updatedServerOptions + " %d" % (base + i)) TestUtil.getServerPid(serverPipes[i]) TestUtil.getAdapterReady(serverPipes[i]) print "ok" -print "starting client...", +updatedClientOptions = TestUtil.clientOptions +updatedClientOptions = updatedClientOptions.replace("TOPLEVELDIR", toplevel) + ports = "" for i in range(0, num): ports = "%s %d" % (ports, base + i) -clientPipe = os.popen(client + " " + ports) +print "starting client...", +clientPipe = os.popen(client + " " + updatedClientOptions + " " + ports) output = clientPipe.readline() if not output: print "failed!" |