summaryrefslogtreecommitdiff
path: root/js/test/Common/Worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Common/Worker.js')
-rw-r--r--js/test/Common/Worker.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/test/Common/Worker.js b/js/test/Common/Worker.js
index 573e2e25451..d775e416b72 100644
--- a/js/test/Common/Worker.js
+++ b/js/test/Common/Worker.js
@@ -35,6 +35,10 @@ self.onmessage = function(e)
self.importScripts("/node_modules/regenerator-runtime/runtime.js");
self.importScripts("/lib/es5/Ice.js");
self.importScripts("/test/es5/Common/Controller.js");
+ test.files = test.files.map(function(f)
+ {
+ return f.replace("/lib/Glacier2.js", "/lib/es5/Glacier2.js");
+ });
}
else
{
@@ -42,6 +46,7 @@ self.onmessage = function(e)
self.importScripts("/test/Common/Controller.js");
}
self.importScripts("/test/Common/TestRunner.js");
+
for(var i = 0; i < test.files.length; ++i)
{
var f = test.files[i];