summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-03-05 11:29:47 +0100
committerJose <jose@zeroc.com>2015-03-05 11:29:47 +0100
commitbdba1b684ef18ea6137bb91f3257b278e72ba23b (patch)
tree451707c73404525dff969503981b0fa76655da0e /scripts/TestUtil.py
parentSlice/errorDetection fixes (diff)
downloadice-bdba1b684ef18ea6137bb91f3257b278e72ba23b.tar.bz2
ice-bdba1b684ef18ea6137bb91f3257b278e72ba23b.tar.xz
ice-bdba1b684ef18ea6137bb91f3257b278e72ba23b.zip
Mingw/Ruby build updates
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 434780bddfc..5414852388b 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -1696,6 +1696,8 @@ def createConfig(path, lines, enc=None):
def getCppBinDir(lang = None):
binDir = os.path.join(getIceDir("cpp"), "bin")
+ if isMINGW() and x64:
+ binDir = os.path.join(binDir, "x64")
if iceHome:
if lang == None:
lang = getDefaultMapping()
@@ -1713,7 +1715,10 @@ def getCppBinDir(lang = None):
return binDir
def getSliceTranslator(lang = "cpp"):
- return os.path.join((iceHome if iceHome else getIceDir("cpp")) , "bin", "slice2%s" % lang)
+ if iceHome:
+ return os.path.join(iceHome, "bin", "slice2%s" % lang)
+ else:
+ return os.path.join(getCppBinDir(), ("slice2%s" % lang))
def getCppLibDir(lang = None):
if isWin32():