diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-27 12:18:17 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-27 12:18:17 +0000 |
commit | 6c949025e46ac1f54c11479bdf483acb38b93c04 (patch) | |
tree | 139f3be65f78b51a7c00a933ae4272513f0bab84 /cpp/test/IceXML/encoding/run.py | |
parent | Renaming Ice.Trace.Security to IceSSL.Trace.Security Cleaning up IceSSL (diff) | |
download | ice-6c949025e46ac1f54c11479bdf483acb38b93c04.tar.bz2 ice-6c949025e46ac1f54c11479bdf483acb38b93c04.tar.xz ice-6c949025e46ac1f54c11479bdf483acb38b93c04.zip |
python test scripts cleanup
Diffstat (limited to 'cpp/test/IceXML/encoding/run.py')
-rwxr-xr-x | cpp/test/IceXML/encoding/run.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cpp/test/IceXML/encoding/run.py b/cpp/test/IceXML/encoding/run.py index b1dda2652c0..c9e36d29be4 100755 --- a/cpp/test/IceXML/encoding/run.py +++ b/cpp/test/IceXML/encoding/run.py @@ -29,13 +29,11 @@ client = os.path.join(testdir, "client" + ' ' + testdir) print "starting client...", clientPipe = os.popen(client) -output = clientPipe.read().strip() -if not output: - print "failed!" - sys.exit(1) print "ok" -print output +for output in clientPipe.xreadlines(): + print output, + clientStatus = clientPipe.close() if clientStatus: |