xref: /llvm-project/llvm/test/CodeGen/LoongArch/lit.local.cfg (revision f84bac329ba6c9f0c022bcf77237e912362e247a)
1import os
2
3config.suffixes = [".ll", ".mir", ".test", ".txt"]
4
5extract_section_path = os.path.join(config.llvm_src_root, "utils", "extract-section.py")
6
7config.substitutions.append(
8    (
9        "extract-section",
10        "'%s' %s %s"
11        % (config.python_executable, extract_section_path, "--bits-endian little"),
12    )
13)
14
15if not "LoongArch" in config.root.targets:
16    config.unsupported = True
17