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

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

Issue 2811973002: Improve test script help output for --compiler (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_options.dart
diff --git a/tools/testing/dart/test_options.dart b/tools/testing/dart/test_options.dart
index cf49269777597530f9fe36a744c9cd8e8dd713e5..763f036d5b6b679ab5381381759e3047afb6d840 100644
--- a/tools/testing/dart/test_options.dart
+++ b/tools/testing/dart/test_options.dart
@@ -63,24 +63,28 @@ class TestOptionsParser {
'''Specify any compilation step (if needed).
none: Do not compile the Dart code (run native Dart code on the VM).
- (only valid with the following runtimes: vm, flutter, drt)
+ (only valid with the following runtimes: vm, flutter, drt)
+
+ precompiler: Compile into AOT snapshot before running the test.
+ (only valid with the dart_precompiled runtime)
dart2js: Compile dart code to JavaScript by running dart2js.
- (only valid with the following runtimes: d8, drt, chrome,
- safari, ie9, ie10, ie11, firefox, opera, chromeOnAndroid,
- none (compile only)),
+ (only valid with the following runtimes: d8, drt, chrome,
+ safari, ie9, ie10, ie11, firefox, opera, chromeOnAndroid,
+ none (compile only)),
dart2analyzer: Perform static analysis on Dart code by running the analyzer
(only valid with the following runtimes: none)
- dart2app:
- dart2appjit: Compile the Dart code into an app snapshot before running test
+ app_jit: Compile the Dart code into an app snapshot before running test
(only valid with dart_app runtime)
dartk: Compile the Dart source into Kernel before running test.
dartkp: Compiler the Dart source into Kernel and then Kernel into AOT
- snapshot before running the test.''',
+ snapshot before running the test.
+ (only valid with the dart_precompiled runtime)
+ ''',
['-c', '--compiler'],
[
'none',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698