summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-05-24 16:02:48 -0400
committerJoe George <joe@zeroc.com>2016-05-24 16:02:48 -0400
commit0f3745b1bd4909c507325ca71f454a577f1e534c (patch)
tree3acbafa8856afaa6dd6053e4c6d93a11cbb4b052 /scripts/TestUtil.py
parentTestUtil fixes for projects with have an Ice submodule (diff)
downloadice-0f3745b1bd4909c507325ca71f454a577f1e534c.tar.bz2
ice-0f3745b1bd4909c507325ca71f454a577f1e534c.tar.xz
ice-0f3745b1bd4909c507325ca71f454a577f1e534c.zip
Add javaLibraryPath to PATH if on Windows
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 8408bdd52e7..b733fa5b20b 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -1917,6 +1917,8 @@ def getTestEnv(lang, testdir):
if isMINGW():
addPathToEnv("PATH", os.path.join(pkgdir, "bzip2.mingw4.7.2", pkgsubdir), env)
+ if lang == "java" and javaLibraryPath:
+ addPathToEnv("PATH", javaLibraryPath, env)
#
# If Ice is installed on the system, set the CLASSPATH for Java and