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; }