clang/test/OpenMP/lit.local.cfg
raw| 1 | # -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79: |
| 2 | import re |
| 3 | from lit.llvm.subst import ToolSubst |
| 4 | |
| 5 | fc = ToolSubst("FileCheck", unresolved="fatal") |
| 6 | config.substitutions.insert(0, (fc.regex, "FileCheck --allow-unused-prefixes")) |
| 7 | |
| 8 | if re.match(r".*-zos", config.target_triple): |
| 9 | config.unsupported = True |