brintos

brintos / llvm-project-archived public Read only

0
0
Text · 714 B · f5e7569 Raw
21 lines · plain
1import lit.formats2 3config.name = "search-env"4config.suffixes = [".txt"]5config.test_format = lit.formats.ShTest()6config.test_source_root = None7config.test_exec_root = None8config.llvm_tools_dir = ""9import lit.llvm10 11lit.llvm.initialize(lit_config, config)12import os.path13 14curdir = os.path.dirname(__file__)15# The current directory contains files for each version of LLD, both with and16# without a .exe extension. The .exe versions will be found on Windows and the17# ones without will be found on Linux. Note that all files are just empty files,18# since the test doesn't actually use them.19lit.llvm.llvm_config.with_environment("PATH", curdir, append_path=True)20lit.llvm.llvm_config.use_lld(use_installed=True)21