summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-12-24 19:30:23 +0000
committerMarc Laukien <marc@zeroc.com>2002-12-24 19:30:23 +0000
commit1bed90257bb2e46f5047da74ba1769bbd35d4f34 (patch)
treea36dcb6b154b3fee55a732eccea92137b5ca0e1e /cpp/config/TestUtil.py
parentGrammar.y fixes for new bison (diff)
downloadice-1bed90257bb2e46f5047da74ba1769bbd35d4f34.tar.bz2
ice-1bed90257bb2e46f5047da74ba1769bbd35d4f34.tar.xz
ice-1bed90257bb2e46f5047da74ba1769bbd35d4f34.zip
fixes to python test scripts
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index de6913df102..b96b3e53c5b 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -126,9 +126,9 @@ else:
raise "can't find toplevel directory!"
if isWin32():
- os.environ["PATH"] = os.path.join(toplevel, "bin") + ";" + os.environ["PATH"]
+ os.environ["PATH"] = os.path.join(toplevel, "bin") + ";" + os.getenv("PATH", "")
else:
- os.environ["LD_LIBRARY_PATH"] = os.path.join(toplevel, "lib") + ":" + os.environ["LD_LIBRARY_PATH"]
+ os.environ["LD_LIBRARY_PATH"] = os.path.join(toplevel, "lib") + ":" + os.getenv("LD_LIBRARY_PATH", "")
if protocol == "ssl":
plugin = " --Ice.Plugin.IceSSL=IceSSL:create"