| 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());
|
| }
|
|
|