diff options
author | Marc Laukien <marc@zeroc.com> | 2002-11-08 22:18:39 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-11-08 22:18:39 +0000 |
commit | 43dc982678b7592001df77d6bd32e286299c24cc (patch) | |
tree | 367213889351866b763ea80cda64d07c1d40c39b /java/test/IceXML/encoding/run.py | |
parent | add test for Map.Entry.setValue (diff) | |
download | ice-43dc982678b7592001df77d6bd32e286299c24cc.tar.bz2 ice-43dc982678b7592001df77d6bd32e286299c24cc.tar.xz ice-43dc982678b7592001df77d6bd32e286299c24cc.zip |
many fixes to run scripts
Diffstat (limited to 'java/test/IceXML/encoding/run.py')
-rwxr-xr-x | java/test/IceXML/encoding/run.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/java/test/IceXML/encoding/run.py b/java/test/IceXML/encoding/run.py index 6befbf0e0bc..d911d5c207d 100755 --- a/java/test/IceXML/encoding/run.py +++ b/java/test/IceXML/encoding/run.py @@ -25,18 +25,19 @@ else: sys.path.append(os.path.join(toplevel, "config")) import TestUtil -testdir = os.path.join(toplevel,"test", "IceXML", "encoding") -classpath = os.path.join(toplevel, "lib") + TestUtil.sep + os.path.join(testdir, "classes") + \ - TestUtil.sep + os.getenv("CLASSPATH", "") -client = "java -classpath \"" + classpath + "\" Client" +name = os.path.join("IceXML", "encoding") +testdir = os.path.join(toplevel, "test", name) +os.environ["CLASSPATH"] = os.path.join(testdir, "classes") + TestUtil.sep + os.environ["CLASSPATH"] + +client = "java -ea Client" print "starting client...", -clientPipe = os.popen(client) +clientPipe = os.popen(client + " " + testdir) print "ok" for output in clientPipe.xreadlines(): print output, - + clientStatus = clientPipe.close() if clientStatus: |