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 044124e1732..bb94678e6c8 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -27,7 +27,7 @@ cpp11 = False # Binary distribution is c++ 11
# Default java loader
javaHome = os.environ.get("JAVA_HOME", "")
-javaCmd = os.path.join('"%s"' % javaHome, "bin", "java") if javaHome else "java"
+javaCmd = '"%s"' % os.path.join(javaHome, "bin", "java") if javaHome else "java"
valgrind = False # Set to True to use valgrind for C++ executables.
appverifier = False # Set to True to use appverifier for C++ executables, This is windows only feature