summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/fatal-module-loader-error.m
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-04 16:16:58 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-04 16:16:58 +0000
commit925213b0fa3f9bbbe949326bb89a8d774c05994b (patch)
tree5de754b11dc2a3f49f4f5017b05ac73b4cfdc656 /clang/test/Modules/fatal-module-loader-error.m
parent18ce7e476128320cd8689090025af054bfe900f5 (diff)
downloadbcm5719-llvm-925213b0fa3f9bbbe949326bb89a8d774c05994b.tar.gz
bcm5719-llvm-925213b0fa3f9bbbe949326bb89a8d774c05994b.zip
Add 'not' to commands that are expected to fail.
This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
Diffstat (limited to 'clang/test/Modules/fatal-module-loader-error.m')
-rw-r--r--clang/test/Modules/fatal-module-loader-error.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/fatal-module-loader-error.m b/clang/test/Modules/fatal-module-loader-error.m
index dbaea68363f..6af3b4c7c37 100644
--- a/clang/test/Modules/fatal-module-loader-error.m
+++ b/clang/test/Modules/fatal-module-loader-error.m
@@ -21,6 +21,6 @@
#endif
// Also check that libclang does not create a PCH with such an error.
-// RUN: c-index-test -write-pch %t.pch -fmodules -fmodules-cache-path=%t %s \
-// RUN: -Xclang -fdisable-module-hash -F %S/Inputs 2>&1 | FileCheck %s
+// RUN: not c-index-test -write-pch %t.pch -fmodules -fmodules-cache-path=%t \
+// RUN: %s -Xclang -fdisable-module-hash -F %S/Inputs 2>&1 | FileCheck %s
// CHECK: Unable to write PCH file
OpenPOWER on IntegriCloud