Index: pkg/dev_compiler/tool/run.js |
diff --git a/pkg/dev_compiler/tool/run.js b/pkg/dev_compiler/tool/run.js |
index 73069643c073d516023090b6e3f401359624efd2..6783750863be80b6afc8bee629ed6d155c75cca8 100644 |
--- a/pkg/dev_compiler/tool/run.js |
+++ b/pkg/dev_compiler/tool/run.js |
@@ -45,6 +45,7 @@ var sdk = requirejs('dart_sdk'); |
var module = requirejs(test); |
var lib = test.split('/').slice(-1)[0]; |
try { |
+ sdk._isolate_helper.startRootIsolate(() => {}, []); |
module[lib].main(); |
console.log('Test ' + test + ' passed.'); |
} catch (e) { |