From 277c895111e2c3d4cc27bb37df7540dd67c669f1 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Fri, 28 Sep 2018 10:47:48 -0700 Subject: [PATCH] Make verify_exports fail on failures again (#6379) It is now working properly on the bots. --- testing/symbols/verify_exported.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/symbols/verify_exported.dart b/testing/symbols/verify_exported.dart index 86d4f58a4..37ff8f5be 100644 --- a/testing/symbols/verify_exported.dart +++ b/testing/symbols/verify_exported.dart @@ -41,8 +41,8 @@ void main(List arguments) { int failures = 0; failures += _checkIos(outPath, nmPath, iosReleaseBuilds); failures += _checkAndroid(outPath, nmPath, androidReleaseBuilds); - // TODO(goderbauer): Return failing exit code on failure once it works on bots. - print('Failures: $failures'); // exit(failures); + print('Failing checks: $failures'); + exit(failures); } int _checkIos(String outPath, String nmPath, Iterable builds) {