summaryrefslogtreecommitdiff
path: root/cpp/config/TestUtil.py
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2004-01-23 22:37:27 +0000
committerBernard Normier <bernard@zeroc.com>2004-01-23 22:37:27 +0000
commite472963b0f661ca49b2c1f67fc17eb601923788b (patch)
treefb45d999b05a51060e29d806f214ed0186d9fb64 /cpp/config/TestUtil.py
parentfixes (diff)
downloadice-e472963b0f661ca49b2c1f67fc17eb601923788b.tar.bz2
ice-e472963b0f661ca49b2c1f67fc17eb601923788b.tar.xz
ice-e472963b0f661ca49b2c1f67fc17eb601923788b.zip
HP-UX port
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r--cpp/config/TestUtil.py18
1 files changed, 15 insertions, 3 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py
index cdb2528db79..3594a4cddbc 100644
--- a/cpp/config/TestUtil.py
+++ b/cpp/config/TestUtil.py
@@ -79,7 +79,15 @@ def isSolaris():
return 1
else:
return 0
-
+
+def isHpUx():
+
+ if sys.platform == "hp-ux11":
+ return 1
+ else:
+ return 0
+
+
serverPids = []
def killServers():
@@ -157,8 +165,12 @@ if isWin32():
else:
os.environ["PATH"] = os.path.join(toplevel, "bin") + ";" + os.getenv("PATH", "")
else:
- os.environ["LD_LIBRARY_PATH"] = os.path.join(toplevel, "lib") + ":" + os.getenv("LD_LIBRARY_PATH", "")
- os.environ["LD_LIBRARY_PATH_64"] = os.path.join(toplevel, "lib") + ":" + os.getenv("LD_LIBRARY_PATH_64", "")
+ if isHpUx():
+ os.environ["SHLIB_PATH"] = os.path.join(toplevel, "lib") + ":" + os.getenv("SHLIB_PATH", "")
+# os.environ["LD_LIBRARY_PATH"] = os.path.join(toplevel, "lib") + ":" + os.getenv("LD_LIBRARY_PATH, "")
+ else:
+ os.environ["LD_LIBRARY_PATH"] = os.path.join(toplevel, "lib") + ":" + os.getenv("LD_LIBRARY_PATH", "")
+ os.environ["LD_LIBRARY_PATH_64"] = os.path.join(toplevel, "lib") + ":" + os.getenv("LD_LIBRARY_PATH_64", "")
if protocol == "ssl":
plugin = " --Ice.Plugin.IceSSL=IceSSL:create"