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, 5 insertions, 0 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index 91eb683e70f..ea4c3c23e88 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -205,6 +205,11 @@ def configurePaths():
addClasspath(os.path.join(javaDir, "IceE.jar"))
os.environ["CLASSPATH"] = os.path.join(javaDir, "IceE.jar") + os.pathsep + os.getenv("CLASSPATH", "")
else:
+ # The IceTest.jar is never installed, and so will always live
+ # in the toplevel java/lib directory.
+ addClasspath(os.path.join(toplevel, "java", "lib", "IceTest.jar"))
+ # The Ice.jar and Freeze.jar comes from the installation
+ # directory or the toplevel dir.
javaDir = os.path.join(getIceDir("java"), "lib")
addClasspath(os.path.join(javaDir, "Ice.jar"))
addClasspath(os.path.join(javaDir, "Freeze.jar"))