10 lines · plain
1# -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79:2import re3from lit.llvm.subst import ToolSubst4 5fc = ToolSubst("FileCheck", unresolved="fatal")6config.substitutions.insert(0, (fc.regex, "FileCheck --allow-unused-prefixes"))7 8if re.match(r".*-zos", config.target_triple):9 config.unsupported = True10