Make test check position independent as they sometimes come out reversed. NFCI.
authorDouglas Yung <douglas.yung@sony.com>
Fri, 13 Sep 2019 22:12:27 +0000 (22:12 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Fri, 13 Sep 2019 22:12:27 +0000 (22:12 +0000)
llvm-svn: 371904

clang/test/Index/crash-recovery-modules.m

index 85b39cf..82979f7 100644 (file)
@@ -31,5 +31,5 @@ void test() {
 // ...and with module building successful.
 // RUN: env CINDEXTEST_FAILONERROR=1 not c-index-test -test-load-source all -fmodules -fmodules-cache-path=%t -Xclang -fdisable-module-hash -I %S/Inputs/Headers -DLIBCLANG_CRASH %s > /dev/null 2> %t.err
 // RUN: FileCheck < %t.err -check-prefix=CHECK-LIBCLANG-CRASH %s
-// CHECK-LIBCLANG-CRASH: libclang: crash detected during parsing
-// CHECK-LIBCLANG-CRASH: Unable to load translation unit!
+// CHECK-LIBCLANG-CRASH-DAG: libclang: crash detected during parsing
+// CHECK-LIBCLANG-CRASH-DAG: Unable to load translation unit!