diff options
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-x | scripts/TestUtil.py | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index a1ac873cf85..88639a8c9ed 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -1750,22 +1750,9 @@ def getTestEnv(lang, testdir): addPathToEnv("NODE_PATH", os.path.join(testdir), env) return env # That's it, we're done! - if isWin32(): - libDir = getCppBinDir(lang) - else: - libDir = os.path.join(getIceDir("cpp", testdir), "lib") - if iceHome: - if x64: - if isSolaris(): - if isSparc(): - libDir = os.path.join(libDir, "64") - else: - libDir = os.path.join(libDir, "amd64") - elif not isDarwin(): - libDir = libDir + "64" - - addLdPath(libDir, env) - + if not isDarwin() and iceHome != "/usr": + addLdPath(getCppLibDir(), env) + if lang == "javae": javaDir = os.path.join(getIceDir("javae", testdir), "jdk", "lib") addClasspath(os.path.join(javaDir, "IceE.jar"), env) |