summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 370db12fda3..0b1b5bf66ef 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -1733,7 +1733,7 @@ def processCmdLine():
iceHome = "/usr"
if not x64:
- x64 = isWin32() and os.environ.get("XTARGET") == "x64" or os.environ.get("LP64") == "yes"
+ x64 = isWin32() and os.environ.get("PLATFORM").upper() == "X64" or os.environ.get("LP64") == "yes"
if iceHome:
sys.stdout.write("*** using Ice installation from " + iceHome + " ")