summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index cba162fdf9a..5980da630a2 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -1193,10 +1193,7 @@ def isDebug():
# we assume is a release build or bin dist, tests that depends on debug
# or release (C++) need to create the build.txt file.
#
- exe = "icebox"
- if isWin32():
- exe += ".exe"
- return not os.path.isfile(os.path.join(getCppBinDir("cpp"), "icebox"))
+ return not os.path.isfile(os.path.join(getCppBinDir("cpp"), "icebox%s" % (".exe" if isWin32() else "")))
import Expect