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

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

Issue 9479034: Update test.dart for detection output of machine formatted errors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update test.dart for detection output of machine formatted errors Created 8 years, 10 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
« tools/testing/dart/test_runner.dart ('K') | « tools/testing/dart/test_runner.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index 2c292945b8337f6703932e78d41d416c6b4811aa..91b8003343e04e32293cad7f041c73bd0d75c4c6 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -712,8 +712,12 @@ class StandardTestSuite implements TestSuite {
bool enableFatalTypeErrors) {
List args = TestUtils.standardOptions(configuration);
args.addAll(additionalOptions(filename));
- if (enableFatalTypeErrors && configuration['component'] == 'dartc') {
- args.add('--fatal-type-errors');
+ if (configuration['component'] == 'dartc') {
+ args.add('--error_format');
+ args.add('machine');
+ if (enableFatalTypeErrors) {
+ args.add('--fatal-type-errors');
+ }
}
bool isMultitest = optionsFromFile["isMultitest"];
« tools/testing/dart/test_runner.dart ('K') | « tools/testing/dart/test_runner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698