Displaying 1 result from an estimated 1 matches for "check_prefix_re".
2014 Feb 13
2
[LLVMdev] Bad test health
...ng 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', 'rdar', 'radar', 'radr', 'FIXME', 'TODO', 'Todo',
'XXX', 'NOTE', 'Note', 'Bug', 'Fix...