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

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

Issue 2879153005: Add support to dart2js for option --enable-asserts. (Closed)
Patch Set: Added !$checked to section predicate in co19 status file Created 3 years, 5 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
« no previous file with comments | « tools/testing/dart/environment.dart ('k') | tools/testing/dart/test_configurations.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/options.dart
diff --git a/tools/testing/dart/options.dart b/tools/testing/dart/options.dart
index 49f32a273f9c9984607ebcaed36d31d0a78bed1e..513459294addbba942eb5e7d4b52158b8d5b3057 100644
--- a/tools/testing/dart/options.dart
+++ b/tools/testing/dart/options.dart
@@ -177,6 +177,8 @@ simdbc, simdbc64''',
'csp', 'Run tests under Content Security Policy restrictions.'),
new _Option.bool(
'fast_startup', 'Pass the --fast-startup flag to dart2js.'),
+ new _Option.bool('enable_asserts',
+ 'Pass the --enable-asserts flag to dart2js or to the vm.'),
new _Option.bool('dart2js_with_kernel',
'Enable the internal pipeline in dart2js to use kernel.'),
new _Option.bool('hot_reload', 'Run hot reload stress tests.'),
@@ -603,6 +605,7 @@ compiler.''')
useBlobs: data["use_blobs"] as bool,
useSdk: data["use_sdk"] as bool,
useFastStartup: data["fast_startup"] as bool,
+ useEnableAsserts: data["enable_asserts"] as bool,
useDart2JSWithKernel: data["dart2js_with_kernel"] as bool,
writeDebugLog: data["write_debug_log"] as bool,
writeTestOutcomeLog: data["write_test_outcome_log"] as bool,
« no previous file with comments | « tools/testing/dart/environment.dart ('k') | tools/testing/dart/test_configurations.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698