xref: /llvm-project/compiler-rt/test/interception/Unit/lit.site.cfg.py.in (revision 8007ff1ab159ae56cb32184626119b7087c59d06)
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 = 'Interception-Unit'
8
9# Setup test source and exec root. For unit tests, we define
10# it as build directory with interception tests.
11# FIXME: De-hardcode this path.
12config.test_exec_root = os.path.join("@COMPILER_RT_BINARY_DIR@", "lib",
13                                     "interception", "tests")
14config.test_source_root = config.test_exec_root
15