diff options
author | Marc Laukien <marc@zeroc.com> | 2001-08-21 19:53:51 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-08-21 19:53:51 +0000 |
commit | b350b65a5be2b2b320953edb2d0283bbac7909eb (patch) | |
tree | aa86af74cb20090d4d18d9803a485739e0c24708 /cpp/config/TestUtil.py | |
parent | --Ice... (diff) | |
download | ice-b350b65a5be2b2b320953edb2d0283bbac7909eb.tar.bz2 ice-b350b65a5be2b2b320953edb2d0283bbac7909eb.tar.xz ice-b350b65a5be2b2b320953edb2d0283bbac7909eb.zip |
Ice.PrintProcessId, run.py cleanup
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r-- | cpp/config/TestUtil.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py index 008d3b123ea..eb2d286c3c5 100644 --- a/cpp/config/TestUtil.py +++ b/cpp/config/TestUtil.py @@ -29,12 +29,12 @@ def killServers(): def clientServerTest(toplevel, name): - testdir = os.path.join(toplevel, "test", name) - server = os.path.join(testdir, "server") - client = os.path.join(testdir, "client") + testdir = os.path.normpath(toplevel + "/test/" + name) + server = os.path.normpath(testdir + "/server") + client = os.path.normpath(testdir + "/client") print "starting server...", - serverPipe = os.popen(os.path.join(testdir, "server --pid")) + serverPipe = os.popen(server + " --Ice.PrintProcessId") output = serverPipe.readline().strip() if not output: print "failed!" @@ -43,7 +43,7 @@ def clientServerTest(toplevel, name): print "ok" print "starting client...", - clientPipe = os.popen(os.path.join(testdir, "client")) + clientPipe = os.popen(client) output = clientPipe.readline() if not output: print "failed!" @@ -59,11 +59,11 @@ def clientServerTest(toplevel, name): def collocatedTest(toplevel, name): - testdir = os.path.join(toplevel, "test", name) - collocated = os.path.join(testdir, "collocated") + testdir = os.path.normpath(toplevel + "/test/" + name) + collocated = os.path.normpath(testdir + "/collocated") print "starting collocated...", - collocatedPipe = os.popen(os.path.join(testdir, "collocated")) + collocatedPipe = os.popen(collocated) output = collocatedPipe.read().strip() if not output: print "failed!" |