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)
commit03c37c9099ffc4a733aa7ebd198ea26c12639115
tree85de25fd41803564d72cfcd0d5b1879ff32603d0
parentac75baaad844e932a6d83e966ff7450661fae8a1
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
llvm/test/Assembler/invalid-generic-debug-node-tag-overflow.ll
llvm/test/Assembler/invalid-mdcompileunit-language-overflow.ll
llvm/test/Assembler/invalid-mdexpression-large.ll
llvm/test/Assembler/invalid-mdlocation-overflow-column.ll
llvm/test/Assembler/invalid-mdlocation-overflow-line.ll
llvm/test/Assembler/invalid-mdsubrange-count-large.ll
llvm/test/Assembler/invalid-mdsubrange-count-negative.ll