xref: /aosp_15_r20/external/compiler-rt/test/sanitizer_common/Unit/lit.site.cfg.in (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1@LIT_SITE_CFG_IN_HEADER@
2
3# Load common config for all compiler-rt unit tests.
4lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured")
5
6# Setup config name.
7config.name = 'SanitizerCommon-Unit'
8
9# Setup test source and exec root. For unit tests, we define
10# it as build directory with sanitizer_common tests.
11# FIXME: De-hardcode this path.
12config.test_exec_root = os.path.join("@COMPILER_RT_BINARY_DIR@", "lib",
13                                     "sanitizer_common", "tests")
14config.test_source_root = config.test_exec_root
15