1# -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79: 2import re 3from lit.llvm.subst import ToolSubst 4 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 = True 10