| commit | 03c37c9099ffc4a733aa7ebd198ea26c12639115 | [log] [tgz] |
|---|---|---|
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sun Mar 22 15:58:21 2015 +0000 |
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sun Mar 22 15:58:21 2015 +0000 |
| tree | 85de25fd41803564d72cfcd0d5b1879ff32603d0 | |
| parent | ac75baaad844e932a6d83e966ff7450661fae8a1 [diff] |
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