Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / Shell / lit.site.cfg.py.in
blob736dfc335732b5af2fdacc20c4db931403b4911a
1 @LIT_SITE_CFG_IN_HEADER@
3 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
4 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
5 config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
6 config.llvm_libs_dir = lit_config.substitute("@LLVM_LIBS_DIR@")
7 config.llvm_shlib_dir = lit_config.substitute("@SHLIBDIR@")
8 config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
9 config.lldb_src_root = "@LLDB_SOURCE_DIR@"
10 config.lldb_obj_root = "@LLDB_BINARY_DIR@"
11 config.lldb_libs_dir = lit_config.substitute("@LLDB_LIBS_DIR@")
12 config.lldb_tools_dir = lit_config.substitute("@LLDB_TOOLS_DIR@")
13 # Since it comes from the command line, it may have backslashes which
14 # should not need to be escaped.
15 config.lldb_lit_tools_dir = lit_config.substitute(r"@LLDB_LIT_TOOLS_DIR@")
16 config.cmake_sysroot = lit_config.substitute("@CMAKE_SYSROOT@")
17 config.target_triple = "@LLVM_TARGET_TRIPLE@"
18 config.python_executable = "@Python3_EXECUTABLE@"
19 config.have_zlib = @LLVM_ENABLE_ZLIB@
20 config.objc_gnustep_dir = "@LLDB_TEST_OBJC_GNUSTEP_DIR@"
21 config.lldb_enable_lzma = @LLDB_ENABLE_LZMA@
22 config.host_triple = "@LLVM_HOST_TRIPLE@"
23 config.lldb_bitness = 64 if @LLDB_IS_64_BITS@ else 32
24 config.lldb_enable_python = @LLDB_ENABLE_PYTHON@
25 config.lldb_enable_lua = @LLDB_ENABLE_LUA@
26 config.lldb_build_directory = "@LLDB_TEST_BUILD_DIRECTORY@"
27 config.have_lldb_server = @LLDB_TOOL_LLDB_SERVER_BUILD@
28 config.lldb_system_debugserver = @LLDB_USE_SYSTEM_DEBUGSERVER@
29 # The shell tests use their own module caches.
30 config.lldb_module_cache = os.path.join("@LLDB_TEST_MODULE_CACHE_LLDB@", "lldb-shell")
31 config.clang_module_cache = os.path.join("@LLDB_TEST_MODULE_CACHE_CLANG@", "lldb-shell")
33 import lit.llvm
34 lit.llvm.initialize(lit_config, config)
36 # Let the main config do the real work.
37 lit_config.load_config(config, os.path.join(config.lldb_src_root, "test", "Shell", "lit.cfg.py"))