[OpenMP][NFC] Fix `not` sustitution in tests
authorJoel E. Denny <jdenny.ornl@gmail.com>
Mon, 11 May 2020 13:51:32 +0000 (09:51 -0400)
committerJoel E. Denny <jdenny.ornl@gmail.com>
Mon, 11 May 2020 18:53:48 +0000 (14:53 -0400)
commitdd5ba4b5850756c9eb715c5eb5d7f46bb4db33af
tree33d88d65da3ad351c4d90355c487a00be89da965
parent99aa87a5b5371b3c06480e3ff99dcc4f2adf2c2a
[OpenMP][NFC] Fix `not` sustitution in tests

D78566 introduced a `\bnot\b` lit substitution in OpenMP test suites.
However, that would corrupt a command like
`FileCheck -implicit-check-not` or any file name like `%t.not`.  We
could use lookbehind/lookahead assertions to avoid such cases, but
this patch switches to `%not` (suggested during the D78566 review) as
a safer option.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D79529
openmp/libomptarget/deviceRTLs/nvptx/test/lit.cfg
openmp/libomptarget/test/lit.cfg
openmp/runtime/test/lit.cfg
openmp/tools/archer/tests/lit.cfg