[TLI checker] Follow good practice with -COUNT directives
authorPaul Robinson <paul.robinson@sony.com>
Thu, 2 Dec 2021 22:28:07 +0000 (14:28 -0800)
committerPaul Robinson <paul.robinson@sony.com>
Thu, 2 Dec 2021 22:28:26 +0000 (14:28 -0800)
FileCheck's -COUNT suffix doesn't fail if there are more matches
than you asked for, so it's good practice to put a -NOT after.

llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml

index 76c3f0f..f2a54da 100644 (file)
@@ -47,7 +47,9 @@
 ## to -COUNT can't be an expression.
 # AVAIL: TLI knows 468 symbols, 235 available
 # AVAIL-COUNT-235: {{^}} available
+# AVAIL-NOT:       {{^}} available
 # UNAVAIL-COUNT-233: not available
+# UNAVAIL-NOT:       not available
 
 ## This is a large file so it's worth telling lit to stop here.
 # END.