llvm/llvm/test/CodeGen/M68k/lit.local.cfg

import os

config.suffixes = [".ll", ".mir", ".test", ".txt"]

extract_section_path = os.path.join(config.llvm_src_root, "utils", "extract-section.py")

config.substitutions.append(
    (
        "extract-section",
        "'%s' %s %s"
        % (
            config.python_executable,
            extract_section_path,
            "--byte-indicator --hex-width=2",
        ),
    )
)

if not "M68k" in config.root.targets:
    config.unsupported = True