From a9c1399243c78e2c1a5ea2f3b9f1c685b8f9dda7 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Mon, 29 Jan 2018 21:14:41 -0800 Subject: [PATCH] Improve test.dart output (#14333) It adds lines like `SHARD=analyze` to each shard, and a message like `Contents of packages/flutter_localizations/lib/src/l10n/localizations.dart matches output of gen_localizations.dart script.` to the analysis shard. --- dev/bots/test.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev/bots/test.dart b/dev/bots/test.dart index 813a0c0a24..9a66bcfced 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -49,11 +49,13 @@ Future main(List args) async { if (shard != null) { if (!_kShards.containsKey(shard)) throw new ArgumentError('Invalid shard: $shard'); + print('${bold}SHARD=$shard$reset'); await _kShards[shard](); } else { for (String currentShard in _kShards.keys) { print('${bold}SHARD=$currentShard$reset'); await _kShards[currentShard](); + print(''); } } } @@ -91,6 +93,7 @@ Future _verifyInternationalizations() async { ..writeln('Did you forget to run gen_localizations.dart after updating a .arb file?'); exit(1); } + print('Contents of $localizationsFile matches output of gen_localizations.dart script.'); } Future _analyzeRepo() async {