From c9f5aa99acbb89702b767831e56c549bbe5ad1d7 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 10 Sep 2019 21:54:16 +0000 Subject: [PATCH] Actually reorder not and env in crash-recovery-modules.m llvm-svn: 371559 --- clang/test/Index/crash-recovery-modules.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/Index/crash-recovery-modules.m b/clang/test/Index/crash-recovery-modules.m index 57d1cf7..85b39cf 100644 --- a/clang/test/Index/crash-recovery-modules.m +++ b/clang/test/Index/crash-recovery-modules.m @@ -26,10 +26,10 @@ void test() { // RUN: rm -rf %t // Check that libclang crash-recovery works; both with a module building crash... -// RUN: not env CINDEXTEST_FAILONERROR=1 c-index-test -test-load-source all -fmodules -fmodules-cache-path=%t -Xclang -fdisable-module-hash -I %S/Inputs/Headers -DCRASH -DLIBCLANG_CRASH %s > /dev/null 2> %t.err +// 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 -DCRASH -DLIBCLANG_CRASH %s > /dev/null 2> %t.err // RUN: FileCheck < %t.err -check-prefix=CHECK-LIBCLANG-CRASH %s // ...and with module building successful. -// RUN: not env CINDEXTEST_FAILONERROR=1 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: 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! -- 2.7.4