Author: dyung Date: Fri Sep 13 15:12:27 2019 New Revision: 371904 URL: http://llvm.org/viewvc/llvm-project?rev=371904&view=rev Log: Make test check position independent as they sometimes come out reversed. NFCI.
Modified: cfe/trunk/test/Index/crash-recovery-modules.m Modified: cfe/trunk/test/Index/crash-recovery-modules.m URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/crash-recovery-modules.m?rev=371904&r1=371903&r2=371904&view=diff ============================================================================== --- cfe/trunk/test/Index/crash-recovery-modules.m (original) +++ cfe/trunk/test/Index/crash-recovery-modules.m Fri Sep 13 15:12:27 2019 @@ -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! _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits