[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang-tools-extra / include-cleaner / test / lit.cfg.py
blobfc6725054366e8a8fbb13cbb5d7efdd83c899350
1 import lit.llvm
3 lit.llvm.initialize(lit_config, config)
4 lit.llvm.llvm_config.use_default_substitutions()
6 config.name = "ClangIncludeCleaner"
7 config.suffixes = [".test", ".c", ".cpp"]
8 config.excludes = ["Inputs"]
9 config.test_format = lit.formats.ShTest(not lit.llvm.llvm_config.use_lit_shell)
10 config.test_source_root = config.clang_include_cleaner_source_dir + "/test"
11 config.test_exec_root = config.clang_include_cleaner_binary_dir + "/test"
13 config.environment["PATH"] = os.path.pathsep.join(
14 (config.clang_tools_dir, config.llvm_tools_dir, config.environment["PATH"])
17 # It is not realistically possible to account for all options that could
18 # possibly be present in system and user configuration files, so disable
19 # default configs for the test runs.
20 config.environment["CLANG_NO_DEFAULT_CONFIG"] = "1"