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/test/Ice/inheritance/run.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/test/Ice/inheritance/run.py')
-rwxr-xr-x | cpp/test/Ice/inheritance/run.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/inheritance/run.py b/cpp/test/Ice/inheritance/run.py index 11efe6c5045..f687cef2beb 100755 --- a/cpp/test/Ice/inheritance/run.py +++ b/cpp/test/Ice/inheritance/run.py @@ -11,16 +11,16 @@ import os, sys -for toplevel in ["", "..", os.path.join("..", ".."), os.path.join("..", "..", "..")]: - if os.path.exists(os.path.join(toplevel, "config", "TestUtil.py")): +for toplevel in [".", "..", "../..", "../../..", "../../../.."]: + if os.path.exists(os.path.normpath(toplevel + "/config/TestUtil.py")): break else: raise "can't find toplevel directory!" -sys.path.append(os.path.join(toplevel, "config")) +sys.path.append(os.path.normpath(toplevel + "/config")) import TestUtil -name = os.path.join("Ice", "inheritance") +name = "Ice/inheritance" TestUtil.clientServerTest(toplevel, name) TestUtil.collocatedTest(toplevel, name) sys.exit(1) |