2016-04-16 15:03:45 +08:00
|
|
|
@LIT_SITE_CFG_IN_HEADER@
|
2012-12-25 21:10:15 +08:00
|
|
|
|
2013-06-06 21:28:37 +08:00
|
|
|
# Load common config for all compiler-rt unit tests.
|
2014-02-14 19:00:07 +08:00
|
|
|
lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured")
|
2013-01-30 20:18:49 +08:00
|
|
|
|
2013-06-06 21:48:20 +08:00
|
|
|
# Setup config name.
|
|
|
|
config.name = 'MemorySanitizer-Unit'
|
2012-12-25 21:10:15 +08:00
|
|
|
|
2013-06-06 21:48:20 +08:00
|
|
|
# Setup test source and exec root. For unit tests, we define
|
|
|
|
# it as build directory with MSan unit tests.
|
2014-02-14 21:02:58 +08:00
|
|
|
# FIXME: Don't use hardcoded path to MSan unit tests.
|
|
|
|
config.test_exec_root = "@COMPILER_RT_BINARY_DIR@/lib/msan/tests"
|
2013-06-06 21:48:20 +08:00
|
|
|
config.test_source_root = config.test_exec_root
|