stop on the first file mismatch.
[oota-llvm.git] / utils / FileCheck / FileCheck.cpp
index 9611d24dee841c6626e98737c06befd5499fe84b..da14780acfc8c250bec118995aa5b3d2cd67faba 100644 (file)
@@ -168,6 +168,7 @@ int main(int argc, char **argv) {
                     "error");
     SM.PrintMessage(SMLoc::getFromPointer(CurPtr), "scanning from here",
                     "note");
+    return 1;
   }
   
   return 0;