xref: /llvm-project/compiler-rt/test/scudo/standalone/unit/lit.site.cfg.py.in (revision ba379fe5276b4a922ab19eb8af9ba5bece81cdff)
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 = 'ScudoStandalone-Unit'
8
9# Setup test source and exec root.
10# For unit tests, we define it as build directory with unit tests.
11config.test_exec_root = "@COMPILER_RT_BINARY_DIR@/lib/scudo/standalone/tests"
12config.test_source_root = config.test_exec_root
13
14# Disable GWP-ASan for scudo internal tests.
15if config.gwp_asan:
16  config.environment['SCUDO_OPTIONS'] = 'GWP_ASAN_Enabled=0'
17