Added error message for flutter_gallery transitions_perf test. (#47776)
This commit is contained in:
@@ -103,6 +103,8 @@ Future<void> saveDurationsHistogram(List<Map<String, dynamic>> events, String ou
|
||||
|
||||
if (unexpectedValueCounts.isNotEmpty) {
|
||||
final StringBuffer error = StringBuffer('Some routes recorded wrong number of values (expected 2 values/route):\n\n');
|
||||
// When run with --trace-startup, the VM stores trace events in an endless buffer instead of a ring buffer.
|
||||
error.write('You must add the --trace-startup parameter to run the test. \n\n');
|
||||
unexpectedValueCounts.forEach((String routeName, int count) {
|
||||
error.writeln(' - $routeName recorded $count values.');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user