From 805c4e8741b2aa13be05a51af4e63cafbea3abc7 Mon Sep 17 00:00:00 2001 From: Kevin Lubick Date: Wed, 20 Mar 2019 09:46:09 -0400 Subject: [PATCH] Make ios actually fail Removed Test-iOS from CQ in https://skia-review.googlesource.com/c/skia/+/202130 Bug: skia:8861 Change-Id: I106425525a8149ee955740ae7ecb2eb633a3aa7b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/202127 Reviewed-by: Stephan Altmueller Reviewed-by: Mike Klein --- dm/DM.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dm/DM.cpp b/dm/DM.cpp index 05c7675d50..d91d0bf482 100644 --- a/dm/DM.cpp +++ b/dm/DM.cpp @@ -1636,6 +1636,11 @@ int main(int argc, char** argv) { info("\t%s\n", gFailures[i].c_str()); } info("%d failures\n", gFailures.count()); + // A non-zero return code does not make it to Swarming + // An abort does. +#ifdef SK_BUILD_FOR_IOS + SK_ABORT("There were failures!"); +#endif return 1; }