summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/run.py
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-08-21 19:53:51 +0000
committerMarc Laukien <marc@zeroc.com>2001-08-21 19:53:51 +0000
commitb350b65a5be2b2b320953edb2d0283bbac7909eb (patch)
treeaa86af74cb20090d4d18d9803a485739e0c24708 /cpp/test/Ice/exceptions/run.py
parent--Ice... (diff)
downloadice-b350b65a5be2b2b320953edb2d0283bbac7909eb.tar.bz2
ice-b350b65a5be2b2b320953edb2d0283bbac7909eb.tar.xz
ice-b350b65a5be2b2b320953edb2d0283bbac7909eb.zip
Ice.PrintProcessId, run.py cleanup
Diffstat (limited to 'cpp/test/Ice/exceptions/run.py')
-rwxr-xr-xcpp/test/Ice/exceptions/run.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/exceptions/run.py b/cpp/test/Ice/exceptions/run.py
index c6390222383..2873635c052 100755
--- a/cpp/test/Ice/exceptions/run.py
+++ b/cpp/test/Ice/exceptions/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", "exceptions")
+name = "Ice/exceptions"
TestUtil.clientServerTest(toplevel, name)
TestUtil.collocatedTest(toplevel, name)
sys.exit(1)