search for: littesttracker

Displaying 1 result from an estimated 1 matches for "littesttracker".

2014 Feb 13
2
[LLVMdev] Bad test health
...tr(s) for s in unused)) #print("Valid: %s" % ', '.join(str(s) for s in valid)) #print("Used: %s" % ', '.join(str(s) for s in used)) #print("Runlines: %s" % ', '.join(runlines)) print return False return True class LitTestTracker: def __init__(self): self.exts = dict() def is_test(self, path): path = os.path.abspath(path) if not os.path.isfile(path): return False dir = os.path.dirname(path) ext = os.path.splitext(path)[1] return ext in self.exts_for_dir(dir) def exts_for_dir(self, dir):...