| # -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79: | |
| import re | |
| from lit.llvm.subst import ToolSubst | |
| fc = ToolSubst("FileCheck", unresolved="fatal") | |
| config.substitutions.insert(0, (fc.regex, "FileCheck --allow-unused-prefixes")) | |
| if re.match(r".*-zos", config.target_triple): | |
| config.unsupported = True |