diff options
author | Michi Henning <michi@zeroc.com> | 2004-07-06 03:44:47 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2004-07-06 03:44:47 +0000 |
commit | 5050f6f04878376e1ad19689804426e5298cc75e (patch) | |
tree | 1073954ab2062b2c9b069d6fdcfc1d915b3896c0 /java/test/Ice/exceptions/run.py | |
parent | Did a make depend. (diff) | |
download | ice-5050f6f04878376e1ad19689804426e5298cc75e.tar.bz2 ice-5050f6f04878376e1ad19689804426e5298cc75e.tar.xz ice-5050f6f04878376e1ad19689804426e5298cc75e.zip |
Changed test scripts to use unbuffered I/O so when we run the scripts from
allTests.py, we get to see the output as it is produced, not line by
line.
Diffstat (limited to 'java/test/Ice/exceptions/run.py')
-rwxr-xr-x | java/test/Ice/exceptions/run.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/test/Ice/exceptions/run.py b/java/test/Ice/exceptions/run.py index 4a8b0473027..d0c706a8212 100755 --- a/java/test/Ice/exceptions/run.py +++ b/java/test/Ice/exceptions/run.py @@ -36,13 +36,13 @@ client = "java -ea Client --Ice.ProgramName=Client " print "starting server...", classpath = os.getenv("CLASSPATH", "") os.environ["CLASSPATH"] = os.path.join(testdirAMD, "classes") + TestUtil.sep + classpath -serverPipe = os.popen(server + TestUtil.serverOptions + " 2>&1") +serverPipe = os.popen(server + TestUtil.serverOptions + " 2>&1", "r", 0) TestUtil.getAdapterReady(serverPipe) print "ok" print "starting client...", classpath = os.getenv("CLASSPATH", "") os.environ["CLASSPATH"] = os.path.join(testdir, "classes") + TestUtil.sep + classpath -(clientPipeIn, clientPipe) = os.popen4(client + TestUtil.clientOptions + " --Ice.Warn.Connections=0") +(clientPipeIn, clientPipe) = os.popen4(client + TestUtil.clientOptions + " --Ice.Warn.Connections=0", "r", 0) print "ok" TestUtil.printOutputFromPipe(clientPipe) clientStatus = clientPipe.close() |