llvm/llvm/utils/lit/tests/Inputs/use-llvm-tool-required/lit.cfg

import lit.formats
import lit.util

config.name = "use-llvm-tool-required"
config.suffixes = [".txt"]
config.test_format = lit.formats.ShTest()
config.test_source_root = None
config.test_exec_root = None
import os.path

config.llvm_tools_dir = os.path.dirname(lit.util.abs_path_preserve_drive(__file__))
import lit.llvm

lit.llvm.initialize(lit_config, config)
lit.llvm.llvm_config.use_llvm_tool("found", required=True)
lit.llvm.llvm_config.use_llvm_tool("not-found", required=True)