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 88d8604d0dd..255e118f888 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -2299,7 +2299,7 @@ def runTests(start, expanded, num = 0, script = False):
dir = os.path.join(testToplevel, "java", "test", "src", "main", i)
elif i.find(os.path.join("java-compat","test")) != -1:
dir = os.path.join(testToplevel, "java-compat", "test", "src", "main", i.replace('-compat',''))
- elif i.find(os.path.join("js","test")) != -1:
+ elif es5 and i.find(os.path.join("js","test")) != -1:
dir = os.path.join(testToplevel, i.replace("test/Ice/", "test/Ice/es5/")
.replace("test/Glacier2/", "test/Glacier2/es5/"))
else: