summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-11-09 21:13:11 +0000
committerMarc Laukien <marc@zeroc.com>2002-11-09 21:13:11 +0000
commit09f8473539863068586e1388fbbb8831cad40070 (patch)
tree25b9190211339e24af0390966b45396ea997edb2 /cpp/config/TestUtil.py
parentcomment out parser/scanner rules (diff)
downloadice-09f8473539863068586e1388fbbb8831cad40070.tar.bz2
ice-09f8473539863068586e1388fbbb8831cad40070.tar.xz
ice-09f8473539863068586e1388fbbb8831cad40070.zip
fixes for win32
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index 24a464e0d94..20a5a8f6151 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -125,7 +125,9 @@ for toplevel in [".", "..", "../..", "../../..", "../../../.."]:
else:
raise "can't find toplevel directory!"
-if not isWin32():
+if isWin32():
+ os.environ["PATH"] = os.path.join(toplevel, "bin") + ";" + os.environ["PATH"]
+else:
os.environ["LD_LIBRARY_PATH"] = os.path.join(toplevel, "lib") + ":" + os.environ["LD_LIBRARY_PATH"]
if protocol == "ssl":