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

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

Issue 16357010: Basic dart^2 analyzer tests running. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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_options.dart
diff --git a/tools/testing/dart/test_options.dart b/tools/testing/dart/test_options.dart
index b04f7317afa153f3a51013b52ba3a9b0410cbdaa..ac83131690560921cebd614c02f4a7b327a77edd 100644
--- a/tools/testing/dart/test_options.dart
+++ b/tools/testing/dart/test_options.dart
@@ -80,10 +80,11 @@ is 'dart file.dart' and you specify special command
dartc: Perform static analysis on Dart code by running dartc.
(only valid with the following runtimes: none),
- dartanalyzer: Perform static analysis on Dart code by running the analyzer.
+ dartanalyzer: Perform static analysis on Dart code by running the analyzer on Java.
+ dart2analyzer: Perform static analysis on Dart code by running the analyzer on Dart.
(only valid with the following runtimes: none)''',
['-c', '--compiler'],
- ['none', 'dart2dart', 'dart2js', 'dartc', 'dartanalyzer'],
+ ['none', 'dart2dart', 'dart2js', 'dartc', 'dartanalyzer', 'dart2analyzer'],
'none'),
// TODO(antonm): fix the option drt.
new _TestOptionSpecification(
@@ -475,6 +476,7 @@ Note: currently only implemented for dart2js.''',
break;
case 'dartc':
case 'dartanalyzer':
+ case 'dart2analyzer':
validRuntimes = const ['none'];
break;
case 'none':
@@ -624,6 +626,7 @@ Note: currently only implemented for dart2js.''',
switch (configuration['compiler']) {
case 'dartc':
case 'dartanalyzer':
+ case 'dart2analyzer':
timeout *= 4;
break;
case 'dart2js':

Powered by Google App Engine
This is Rietveld 408576698