xref: /aosp_15_r20/external/compiler-rt/test/tsan/Unit/lit.site.cfg.in (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger Robot@LIT_SITE_CFG_IN_HEADER@
2*7c3d14c8STreehugger Robot
3*7c3d14c8STreehugger Robot# Load common config for all compiler-rt unit tests.
4*7c3d14c8STreehugger Robotlit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured")
5*7c3d14c8STreehugger Robot
6*7c3d14c8STreehugger Robot# Setup config name.
7*7c3d14c8STreehugger Robotconfig.name = 'ThreadSanitizer-Unit'
8*7c3d14c8STreehugger Robot
9*7c3d14c8STreehugger Robot# Setup test source and exec root. For unit tests, we define
10*7c3d14c8STreehugger Robot# it as build directory with ASan unit tests.
11*7c3d14c8STreehugger Robot# FIXME: De-hardcode this path.
12*7c3d14c8STreehugger Robotconfig.test_exec_root = "@COMPILER_RT_BINARY_DIR@/lib/tsan/tests"
13*7c3d14c8STreehugger Robotconfig.test_source_root = config.test_exec_root
14