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

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

Issue 847873004: Outputing comma-separated report with percentages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 5 years, 11 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/summary_report.dart ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_configurations.dart
diff --git a/tools/testing/dart/test_configurations.dart b/tools/testing/dart/test_configurations.dart
index 382d0e701bfa6fb1bf94429206c52cb7959ec323..6edd93c7ef19ab665cd22c51d1222941b69d65d1 100644
--- a/tools/testing/dart/test_configurations.dart
+++ b/tools/testing/dart/test_configurations.dart
@@ -62,6 +62,8 @@ void testConfigurations(List<Map> configurations) {
var printTiming = firstConf['time'];
var listTests = firstConf['list'];
+ var reportInJson = firstConf['report_in_json'];
+
var recordingPath = firstConf['record_to_file'];
var recordingOutputPath = firstConf['replay_from_file'];
@@ -266,7 +268,7 @@ void testConfigurations(List<Map> configurations) {
// The only progress indicator when listing tests should be the
// the summary printer.
if (listTests) {
- eventListener.add(new SummaryPrinter());
+ eventListener.add(new SummaryPrinter(jsonOnly: reportInJson));
} else {
eventListener.add(new ExitCodeSetter());
}
« no previous file with comments | « tools/testing/dart/summary_report.dart ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698