diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-22 15:58:21 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-22 15:58:21 +0000 |
| commit | 03c37c9099ffc4a733aa7ebd198ea26c12639115 (patch) | |
| tree | 85de25fd41803564d72cfcd0d5b1879ff32603d0 /llvm/test/Assembler/invalid-mdcompileunit-language-overflow.ll | |
| parent | ac75baaad844e932a6d83e966ff7450661fae8a1 (diff) | |
| download | bcm5719-llvm-03c37c9099ffc4a733aa7ebd198ea26c12639115.tar.gz bcm5719-llvm-03c37c9099ffc4a733aa7ebd198ea26c12639115.zip | |
Prevent CHECK-NOTs from matching file paths
A build directory with a name like `build-Werror` would hit a false
positive on these `CHECK-NOT`s before, since the actual error line looks
like:
.../build-Werror/bin/llvm-as <stdin>:1:2: error: ...
Switch to using:
CHECK-NOT: error:
(note the trailing semi-colon) to avoid matching almost any file path.
llvm-svn: 232917
Diffstat (limited to 'llvm/test/Assembler/invalid-mdcompileunit-language-overflow.ll')
| -rw-r--r-- | llvm/test/Assembler/invalid-mdcompileunit-language-overflow.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Assembler/invalid-mdcompileunit-language-overflow.ll b/llvm/test/Assembler/invalid-mdcompileunit-language-overflow.ll index 14dab17868f..1849867edae 100644 --- a/llvm/test/Assembler/invalid-mdcompileunit-language-overflow.ll +++ b/llvm/test/Assembler/invalid-mdcompileunit-language-overflow.ll @@ -1,6 +1,6 @@ ; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s -; CHECK-NOT: error +; CHECK-NOT: error: !0 = !MDCompileUnit(language: 65535, file: !MDFile(filename: "a", directory: "b")) |

