Displaying 1 result from an estimated 1 matches for "filecheckverifi".
Did you mean:
filecheckverifier
2014 Feb 13
2
[LLVMdev] Bad test health
...prevent these
mistakes. And since FileCheck's syntax is so common in comments the rate
of false positives is too high for automatic checking.
So I at least want to bring this issue to the attention of others.
-Nico
-------------- next part --------------
import os
import re
import sys
class FileCheckVerifier:
def __init__(self):
self.prefix_re = re.compile(r"^(?:(RUN)| *(?:;|//|\#) *([A-Za-z0-9_-]+?)(?:-DAG|-LABEL|-NOT|-NEXT)?):(.*)$")
self.check_prefix_re = re.compile(r"-?-check-prefix[= ]([^ ]+)\b")
self.ignored_str = [
'REQUIRES', 'XFAIL', &...