diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 16:16:58 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 16:16:58 +0000 |
commit | 925213b0fa3f9bbbe949326bb89a8d774c05994b (patch) | |
tree | 5de754b11dc2a3f49f4f5017b05ac73b4cfdc656 /clang/test/Modules/build-fail-notes.m | |
parent | 18ce7e476128320cd8689090025af054bfe900f5 (diff) | |
download | bcm5719-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/build-fail-notes.m')
-rw-r--r-- | clang/test/Modules/build-fail-notes.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/build-fail-notes.m b/clang/test/Modules/build-fail-notes.m index 0d9e7695b33..e27341154d7 100644 --- a/clang/test/Modules/build-fail-notes.m +++ b/clang/test/Modules/build-fail-notes.m @@ -1,5 +1,5 @@ // RUN: rm -rf %t -// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -F %S/Inputs -DgetModuleVersion="epic fail" %s 2>&1 | FileCheck %s +// RUN: not %clang_cc1 -fmodules-cache-path=%t -fmodules -F %S/Inputs -DgetModuleVersion="epic fail" %s 2>&1 | FileCheck %s @import DependsOnModule; @@ -11,7 +11,7 @@ // CHECK: fatal error: could not build module 'DependsOnModule' // CHECK-NOT: error: -// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -F %S/Inputs %s -fdiagnostics-show-note-include-stack 2>&1 | FileCheck -check-prefix=CHECK-REDEF %s +// RUN: not %clang_cc1 -fmodules-cache-path=%t -fmodules -F %S/Inputs %s -fdiagnostics-show-note-include-stack 2>&1 | FileCheck -check-prefix=CHECK-REDEF %s extern int Module; // CHECK-REDEF: In module 'DependsOnModule' imported from |