summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/inheritance/run.py
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2001-12-06 13:35:19 +0000
committerMatthew Newhook <matthew@zeroc.com>2001-12-06 13:35:19 +0000
commit119382a8122dc0ca1e7805e638a12a667d100866 (patch)
tree15af9ac8f9a1aea2980909e9a8f21244262db169 /cpp/test/Ice/inheritance/run.py
parentporting against C++ tag icej_baseline_12052001; removing server components (diff)
downloadice-119382a8122dc0ca1e7805e638a12a667d100866.tar.bz2
ice-119382a8122dc0ca1e7805e638a12a667d100866.tar.xz
ice-119382a8122dc0ca1e7805e638a12a667d100866.zip
Some python changes.
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)