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, 2 insertions, 0 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 8fceaaff952..03555dfa4da 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -1381,6 +1381,8 @@ def createConfig(path, lines, enc=None):
def getCppBinDir(lang = None):
binDir = os.path.join(getIceDir("cpp"), "bin")
if iceHome:
+ if lang == None:
+ lang = getDefaultMapping()
if lang == "cpp" and isVS2012():
binDir = os.path.join(binDir, "vc110")
if x64: