cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/lit.local.cfg
raw| 1 | import lit.util |
| 2 | |
| 3 | # debuginfo-tests are not expected to pass in a cross-compilation setup. |
| 4 | if "native" not in config.available_features or lit.util.which("gdb") is None: |
| 5 | config.unsupported = True |
| 6 | |
| 7 | if config.mlir_src_root: |
| 8 | config.substitutions.append(("%mlir_src_root", config.mlir_src_root)) |
| 9 | config.available_features.add("mlir") |
| 10 | |
| 11 | config.suffixes = [".gdb"] |