diff options
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r-- | cpp/config/TestUtil.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py index d4b1040c8b3..6d7f3adf14a 100644 --- a/cpp/config/TestUtil.py +++ b/cpp/config/TestUtil.py @@ -34,12 +34,16 @@ def clientServerTest(toplevel, name): client = os.path.normpath(testdir + "/client") print "starting server...", - serverPipe = os.popen(server + " --Ice.PrintProcessId") + serverPipe = os.popen(server + " --Ice.PrintProcessId --Ice.PrintAdapterReady") output = serverPipe.readline().strip() if not output: print "failed!" sys.exit(0) serverPids.append(int(output)) + output = serverPipe.readline().strip() + if not output: + print "failed!" + sys.exit(0) print "ok" print "starting client...", |