diff options
author | Marc Laukien <marc@zeroc.com> | 2001-08-10 18:00:29 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-08-10 18:00:29 +0000 |
commit | 899c46e2d68023d658c1fd31b6a0be2db837ba47 (patch) | |
tree | 4345d1a65581b14b3e1cc74695310d841adcf936 /cpp/config/TestUtil.py | |
parent | more ft stuff (diff) | |
download | ice-899c46e2d68023d658c1fd31b6a0be2db837ba47.tar.bz2 ice-899c46e2d68023d658c1fd31b6a0be2db837ba47.tar.xz ice-899c46e2d68023d658c1fd31b6a0be2db837ba47.zip |
fixes
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r-- | cpp/config/TestUtil.py | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py index 648ee7e026c..008d3b123ea 100644 --- a/cpp/config/TestUtil.py +++ b/cpp/config/TestUtil.py @@ -44,13 +44,18 @@ def clientServerTest(toplevel, name): print "starting client...", clientPipe = os.popen(os.path.join(testdir, "client")) - output = clientPipe.read().strip() + output = clientPipe.readline() if not output: - print "failed!" - killServers() - sys.exit(0) + print "failed!" + TestUtil.killServers() + sys.exit(0) print "ok" - print output + print output, + while 1: + output = clientPipe.readline() + if not output: + break; + print output, def collocatedTest(toplevel, name): |