Unverified Commit 96e42de1 authored by linxuebin's avatar linxuebin Committed by GitHub

Added error message for flutter_gallery transitions_perf test. (#47776)

parent 8b081204
......@@ -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.');
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment