• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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