diff options
author | Michi Henning <michi@zeroc.com> | 2004-11-04 05:49:00 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2004-11-04 05:49:00 +0000 |
commit | 46ccf5c93b194758b171a2b970715b60f8b4681c (patch) | |
tree | 26eeea3d81e2c1f3fceafbf70c11223f8fcc2e94 /cs/config/TestUtil.py | |
parent | glacier2 test fix (diff) | |
download | ice-46ccf5c93b194758b171a2b970715b60f8b4681c.tar.bz2 ice-46ccf5c93b194758b171a2b970715b60f8b4681c.tar.xz ice-46ccf5c93b194758b171a2b970715b60f8b4681c.zip |
More streaming API changes.
Diffstat (limited to 'cs/config/TestUtil.py')
-rw-r--r-- | cs/config/TestUtil.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cs/config/TestUtil.py b/cs/config/TestUtil.py index b1c1be76909..8f40be40a44 100644 --- a/cs/config/TestUtil.py +++ b/cs/config/TestUtil.py @@ -290,6 +290,27 @@ def collocatedTest(mono, name): collocatedTestWithOptions(mono, name, "") +def clientTestWithOptions(mono, name, additionalOptions): + + testdir = os.path.join(toplevel, "test", name) + client = os.path.join(testdir, "client") + + print createMsg(mono, "client"), + clientPipe = os.popen(createCmd(mono, client) + clientOptions + " " + additionalOptions) + print "ok" + + printOutputFromPipe(clientPipe) + + clientStatus = clientPipe.close() + + if clientStatus: + killServers() + sys.exit(1) + +def clientTest(mono, name): + + clientTestWithOptions(mono, name, "") + def cleanDbDir(path): files = os.listdir(path) |