summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-11-15 15:00:24 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-11-15 15:00:24 +0000
commitbb7f036a12f1095d6bb666b8303c69ac59b8a051 (patch)
tree187e9d8c87f148a247b50c098f0759f0ac73fb5c /cpp
parentversion fixes (diff)
downloadice-bb7f036a12f1095d6bb666b8303c69ac59b8a051.tar.bz2
ice-bb7f036a12f1095d6bb666b8303c69ac59b8a051.tar.xz
ice-bb7f036a12f1095d6bb666b8303c69ac59b8a051.zip
Bug 629
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/test/IceGrid/deployer/run.py5
-rwxr-xr-xcpp/test/IceGrid/replication/run.py5
-rwxr-xr-xcpp/test/IceStorm/federation/run.py6
-rwxr-xr-xcpp/test/IceStorm/federation2/run.py6
-rwxr-xr-xcpp/test/IceStorm/single/run.py6
5 files changed, 25 insertions, 3 deletions
diff --git a/cpp/test/IceGrid/deployer/run.py b/cpp/test/IceGrid/deployer/run.py
index cfd7025d0e9..76e6d2c76cd 100755
--- a/cpp/test/IceGrid/deployer/run.py
+++ b/cpp/test/IceGrid/deployer/run.py
@@ -32,6 +32,11 @@ else:
os.environ["LD_LIBRARY_PATH"] = testdir + ":" + os.getenv("LD_LIBRARY_PATH", "")
os.environ["LD_LIBRARY_PATH_64"] = testdir + ":" + os.getenv("LD_LIBRARY_PATH_64", "")
+if TestUtil.isWin32() and os.path.exists(os.path.join(toplevel, "bin", "iceboxd.exe")):
+ useIceboxd = 1
+else:
+ useIceboxd = 0
+
#
# Start the client.
#
diff --git a/cpp/test/IceGrid/replication/run.py b/cpp/test/IceGrid/replication/run.py
index 64899f49529..d29e866a200 100755
--- a/cpp/test/IceGrid/replication/run.py
+++ b/cpp/test/IceGrid/replication/run.py
@@ -33,6 +33,11 @@ else:
os.environ["LD_LIBRARY_PATH"] = testdir + ":" + os.getenv("LD_LIBRARY_PATH", "")
os.environ["LD_LIBRARY_PATH_64"] = testdir + ":" + os.getenv("LD_LIBRARY_PATH_64", "")
+if TestUtil.isWin32() and os.path.exists(os.path.join(toplevel, "bin", "iceboxd.exe")):
+ useIceboxd = 1
+else:
+ useIceboxd = 0
+
#
# Add locator options for the client and server. Since the server
# invokes on the locator it's also considered to be a client.
diff --git a/cpp/test/IceStorm/federation/run.py b/cpp/test/IceStorm/federation/run.py
index 1df2c868b6f..1b2d3c74f53 100755
--- a/cpp/test/IceStorm/federation/run.py
+++ b/cpp/test/IceStorm/federation/run.py
@@ -24,7 +24,11 @@ import TestUtil
name = os.path.join("IceStorm", "federation")
testdir = os.path.join(toplevel, "test", name)
-iceBox = os.path.join(toplevel, "bin", "icebox")
+if TestUtil.isWin32() and os.path.exists(os.path.join(toplevel, "bin", "iceboxd.exe")):
+ iceBox = os.path.join(toplevel, "bin", "iceboxd")
+else:
+ iceBox = os.path.join(toplevel, "bin", "icebox")
+
iceBoxAdmin = os.path.join(toplevel, "bin", "iceboxadmin")
iceStormAdmin = os.path.join(toplevel, "bin", "icestormadmin")
diff --git a/cpp/test/IceStorm/federation2/run.py b/cpp/test/IceStorm/federation2/run.py
index 730e23d5dbe..3896a09c488 100755
--- a/cpp/test/IceStorm/federation2/run.py
+++ b/cpp/test/IceStorm/federation2/run.py
@@ -26,7 +26,11 @@ testdir = os.path.join(toplevel, "test", name)
exedir = os.path.join(toplevel, "test", "IceStorm", "federation")
-iceBox = os.path.join(toplevel, "bin", "icebox")
+if TestUtil.isWin32() and os.path.exists(os.path.join(toplevel, "bin", "iceboxd.exe")):
+ iceBox = os.path.join(toplevel, "bin", "iceboxd")
+else:
+ iceBox = os.path.join(toplevel, "bin", "icebox")
+
iceBoxAdmin = os.path.join(toplevel, "bin", "iceboxadmin")
iceStormAdmin = os.path.join(toplevel, "bin", "icestormadmin")
diff --git a/cpp/test/IceStorm/single/run.py b/cpp/test/IceStorm/single/run.py
index 2089a0b40a6..640ad5014b2 100755
--- a/cpp/test/IceStorm/single/run.py
+++ b/cpp/test/IceStorm/single/run.py
@@ -24,7 +24,11 @@ import TestUtil
name = os.path.join("IceStorm", "single")
testdir = os.path.join(toplevel, "test", name)
-iceBox = os.path.join(toplevel, "bin", "icebox")
+if TestUtil.isWin32() and os.path.exists(os.path.join(toplevel, "bin", "iceboxd.exe")):
+ iceBox = os.path.join(toplevel, "bin", "iceboxd")
+else:
+ iceBox = os.path.join(toplevel, "bin", "icebox")
+
iceBoxAdmin = os.path.join(toplevel, "bin", "iceboxadmin")
iceStormAdmin = os.path.join(toplevel, "bin", "icestormadmin")