Debian Codegraph @

compiler-rt/test/sanitizer_common/Unit/lit.site.cfg.py.in

raw
1 @LIT_SITE_CFG_IN_HEADER@
2
3 # Load common config for all compiler-rt unit tests.
4 lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured")
5
6 # Setup config name.
7 config.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.
12 config.test_exec_root = os.path.join("@COMPILER_RT_BINARY_DIR@", "lib",
13 "sanitizer_common", "tests")
14 config.test_source_root = config.test_exec_root
15
16 if not config.parallelism_group:
17 config.parallelism_group = 'shadow-memory'