1*8007ff1aSReid Kleckner@LIT_SITE_CFG_IN_HEADER@ 2*8007ff1aSReid Kleckner 3*8007ff1aSReid Kleckner# Load common config for all compiler-rt unit tests. 4*8007ff1aSReid Klecknerlit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured") 5*8007ff1aSReid Kleckner 6*8007ff1aSReid Kleckner# Setup config name. 7*8007ff1aSReid Klecknerconfig.name = 'MemorySanitizer-Unit' 8*8007ff1aSReid Kleckner 9*8007ff1aSReid Kleckner# Setup test source and exec root. For unit tests, we define 10*8007ff1aSReid Kleckner# it as build directory with MSan unit tests. 11*8007ff1aSReid Kleckner# FIXME: Don't use hardcoded path to MSan unit tests. 12*8007ff1aSReid Klecknerconfig.test_exec_root = "@COMPILER_RT_BINARY_DIR@/lib/msan/tests" 13*8007ff1aSReid Klecknerconfig.test_source_root = config.test_exec_root 14