print intermediate and raw A/B results when not silent (#54676)
* print intermediate A/B results when not silent * print raw A/B results when in loud mode * add tests; handle missing metrics more gracefully * use less fancy section header on Windows
This commit is contained in:
@@ -9,6 +9,13 @@ import 'package:flutter_devicelab/framework/framework.dart';
|
||||
/// Smoke test of a successful task.
|
||||
Future<void> main() async {
|
||||
await task(() async {
|
||||
return TaskResult.success(<String, dynamic>{});
|
||||
return TaskResult.success(<String, dynamic>{
|
||||
'metric1': 42,
|
||||
'metric2': 123,
|
||||
'not_a_metric': 'something',
|
||||
}, benchmarkScoreKeys: <String>[
|
||||
'metric1',
|
||||
'metric2',
|
||||
]);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user