summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/inheritance/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/inheritance/run.py')
-rwxr-xr-xcpp/test/Ice/inheritance/run.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/test/Ice/inheritance/run.py b/cpp/test/Ice/inheritance/run.py
index 6796ea3b6cf..b3ef21fc1a4 100755
--- a/cpp/test/Ice/inheritance/run.py
+++ b/cpp/test/Ice/inheritance/run.py
@@ -12,15 +12,16 @@
import os, sys
for toplevel in [".", "..", "../..", "../../..", "../../../.."]:
- if os.path.exists(os.path.normpath(toplevel + "/config/TestUtil.py")):
+ if os.path.exists(os.path.join(toplevel, "config", "TestUtil.py")):
break
else:
raise "can't find toplevel directory!"
-sys.path.append(os.path.normpath(toplevel + "/config"))
+sys.path.append(os.path.join(toplevel, "config"))
import TestUtil
-name = "Ice/inheritance"
+name = os.path.join("Ice", "inheritance")
+
TestUtil.clientServerTest(toplevel, name)
TestUtil.collocatedTest(toplevel, name)
sys.exit(0)