Prevent CHECK-NOTs from matching file paths
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 22 Mar 2015 15:58:21 +0000 (15:58 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 22 Mar 2015 15:58:21 +0000 (15:58 +0000)
commit031fbaeb296558e343ddc302d169f2b2673f58f5
tree715a8a275162f142fcf45ee28042129862b86ae7
parent3445d7bea03f5d51bb7696e0ad24f595febe12f5
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232917 91177308-0d34-0410-b5e6-96231b3b80d8
test/Assembler/invalid-generic-debug-node-tag-overflow.ll
test/Assembler/invalid-mdcompileunit-language-overflow.ll
test/Assembler/invalid-mdexpression-large.ll
test/Assembler/invalid-mdlocation-overflow-column.ll
test/Assembler/invalid-mdlocation-overflow-line.ll
test/Assembler/invalid-mdsubrange-count-large.ll
test/Assembler/invalid-mdsubrange-count-negative.ll