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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 2879153005: Add support to dart2js for option --enable-asserts. (Closed)
Patch Set: Adjusted the status of two tests and the logic of one test, to make them work with --enable-asserts Created 3 years, 7 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: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index c95ad9474769c884a7247c645d7d18700adbd2d6..661dcf7521ce459ebbcc31cc63aba57cbf2f7af5 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -2023,6 +2023,9 @@ class TestUtils {
if (compiler == "dart2js" && configuration["fast_startup"]) {
args.add("--fast-startup");
}
+ if (compiler == "dart2js" && configuration["enable_asserts"]) {
+ args.add("--enable-asserts");
+ }
if (compiler == "dart2js" && configuration["dart2js_with_kernel"]) {
args.add("--use-kernel");
}
« tools/testing/dart/test_options.dart ('K') | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698