Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: pkg/dev_compiler/tool/run.js

Issue 2861783002: fix more mixin tests to work in strong mode (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/dev_compiler/tool/run.js
diff --git a/pkg/dev_compiler/tool/run.js b/pkg/dev_compiler/tool/run.js
index cca3aeb94bc9c0360113220e2a016c5bdd61126f..a9c8c3e26c85ddd670e3fb5b9461c437943eabeb 100644
--- a/pkg/dev_compiler/tool/run.js
+++ b/pkg/dev_compiler/tool/run.js
@@ -53,8 +53,14 @@ function finish(e) {
}
}
-var async_helper = requirejs('async_helper').async_helper;
+sdk.dart.ignoreWhitelistedErrors(false);
+sdk.dart.failForWeakModeIsChecks(false);
sdk._isolate_helper.startRootIsolate(() => {}, []);
+// Make it easier to debug test failures and required for formatter test that
+// assumes custom formatters are enabled.
+sdk._debugger.registerDevtoolsFormatter();
+
+var async_helper = requirejs('async_helper').async_helper;
async_helper.asyncTestInitialize(finish);
var module = requirejs(test);
« no previous file with comments | « pkg/dev_compiler/test/not_yet_strong_tests.dart ('k') | tests/language_strong/mixin_extends_field_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698