7 use_lit_shell = os.environ.get("LIT_USE_INTERNAL_SHELL")
8 config.test_format = lit.formats.ShTest(use_lit_shell == "0")
10 clang_path = config.clang if config.have_llvm_driver else os.path.realpath(config.clang)
12 config.substitutions.append(
15 "'%s' --use-analyzer=%s "
19 os.path.join(config.clang_src_dir, "tools", "scan-build", "bin"),