summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-09-10 21:54:16 +0000
committerReid Kleckner <rnk@google.com>2019-09-10 21:54:16 +0000
commitc9f5aa99acbb89702b767831e56c549bbe5ad1d7 (patch)
tree68c3a91dbefac7f314b4c4249588fba7b6756657 /clang
parentcffa630c809f07f38334b8e5e03f8126387f997b (diff)
downloadbcm5719-llvm-c9f5aa99acbb89702b767831e56c549bbe5ad1d7.tar.gz
bcm5719-llvm-c9f5aa99acbb89702b767831e56c549bbe5ad1d7.zip
Actually reorder not and env in crash-recovery-modules.m
llvm-svn: 371559
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Index/crash-recovery-modules.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Index/crash-recovery-modules.m b/clang/test/Index/crash-recovery-modules.m
index 57d1cf7d0ec..85b39cf58df 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!
OpenPOWER on IntegriCloud