[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / libunwind / test / lit.site.cfg.in
blobef2ebd9192722a3435e46fc911b544aa144c7c32
1 @AUTO_GEN_COMMENT@
3 @SERIALIZED_LIT_PARAMS@
5 import os
6 import site
8 config.cxx_under_test           = "@CMAKE_CXX_COMPILER@"
9 config.project_obj_root         = "@CMAKE_BINARY_DIR@"
10 config.libunwind_src_root       = "@LIBUNWIND_SOURCE_DIR@"
11 config.libunwind_obj_root       = "@LIBUNWIND_BINARY_DIR@"
12 config.abi_library_root         = "@LIBUNWIND_LIBRARY_DIR@"
13 config.libcxx_src_root          = "@LIBUNWIND_LIBCXX_PATH@"
14 config.libunwind_headers        = "@LIBUNWIND_SOURCE_DIR@/include"
15 config.cxx_library_root         = "@LIBUNWIND_LIBCXX_LIBRARY_PATH@"
16 config.llvm_unwinder            = True
17 config.builtins_library         = "@LIBUNWIND_BUILTINS_LIBRARY@"
18 config.enable_threads           = @LIBUNWIND_ENABLE_THREADS@
19 config.target_info              = "@LIBUNWIND_TARGET_INFO@"
20 config.test_linker_flags        = "@LIBUNWIND_TEST_LINKER_FLAGS@"
21 config.test_compiler_flags      = "@LIBUNWIND_TEST_COMPILER_FLAGS@"
22 config.executor                 = "@LIBUNWIND_EXECUTOR@"
23 config.libunwind_shared         = @LIBUNWIND_ENABLE_SHARED@
24 config.enable_shared            = @LIBCXX_ENABLE_SHARED@
25 config.arm_ehabi                = @LIBUNWIND_USES_ARM_EHABI@
26 config.host_triple              = "@LLVM_HOST_TRIPLE@"
27 config.sysroot                  = "@LIBUNWIND_SYSROOT@"
28 config.gcc_toolchain            = "@LIBUNWIND_GCC_TOOLCHAIN@"
29 config.cxx_ext_threads          = @LIBUNWIND_BUILD_EXTERNAL_THREAD_LIBRARY@
31 site.addsitedir(os.path.join(config.libunwind_src_root, 'test'))
32 site.addsitedir(os.path.join(config.libcxx_src_root, 'utils'))
34 # name: The name of this test suite.
35 config.name = 'libunwind'
37 # suffixes: A list of file extensions to treat as test files.
38 config.suffixes = ['.cpp', '.s']
40 # test_source_root: The root path where tests are located.
41 config.test_source_root = os.path.join(config.libunwind_src_root, 'test')
43 # Allow expanding substitutions that are based on other substitutions
44 config.recursiveExpansionLimit = 10
46 # Infer the test_exec_root from the build directory.
47 config.test_exec_root = os.path.join(config.libunwind_obj_root, 'test')
49 import libcxx.test.format
50 config.test_format = libcxx.test.format.CxxStandardLibraryTest()
52 lit_config.note('Using configuration variant: libunwind')
53 import libunwind.test.config
54 configuration = libunwind.test.config.Configuration(lit_config, config)
55 configuration.configure()
56 configuration.print_config_info()