summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-01-24 16:04:45 +0100
committerJose <jose@zeroc.com>2013-01-24 16:04:45 +0100
commit7ca96ff9f3af475ad787201101b14382c3bdfad8 (patch)
tree34b14a45ca12bc87a077fd50532e95622ba2ed41 /scripts/TestUtil.py
parentFixed (ICE-5172) - Ice.LogFile doesn't work with IceBox services (diff)
downloadice-7ca96ff9f3af475ad787201101b14382c3bdfad8.tar.bz2
ice-7ca96ff9f3af475ad787201101b14382c3bdfad8.tar.xz
ice-7ca96ff9f3af475ad787201101b14382c3bdfad8.zip
minor fix to TestUil.py
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 0b1b5bf66ef..69e8627a1b7 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -1733,8 +1733,8 @@ def processCmdLine():
iceHome = "/usr"
if not x64:
- x64 = isWin32() and os.environ.get("PLATFORM").upper() == "X64" or os.environ.get("LP64") == "yes"
-
+ x64 = isWin32() and ("PLATFORM" in os.environ and os.environ.get("PLATFORM").upper() == "X64") \
+ or ("LP64" in os.environ and os.environ.get("LP64") == "yes")
if iceHome:
sys.stdout.write("*** using Ice installation from " + iceHome + " ")
if x64: