stop on the first file mismatch.
authorChris Lattner <sabre@nondot.org>
Thu, 9 Jul 2009 00:19:21 +0000 (00:19 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Jul 2009 00:19:21 +0000 (00:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75076 91177308-0d34-0410-b5e6-96231b3b80d8

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;