llvm-project/compiler-rt/test/nsan/lit.site.cfg.py.in
Alexander Shaposhnikov f4e8fbc5e9
[compiler-rt][nsan] Add lit config for tests (#100286)
Initial setup for tests.

Test plan: ninja check-nsan
2024-07-23 22:48:05 -07:00

13 lines
458 B
Python

@LIT_SITE_CFG_IN_HEADER@
# Tool-specific config options.
config.name_suffix = "-@CONFIG_NAME@"
config.target_cflags = "@NSAN_TEST_TARGET_CFLAGS@"
config.target_arch = "@NSAN_TEST_TARGET_ARCH@"
# Load common config for all compiler-rt lit tests.
lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
# Load tool-specific config that would do the real work.
lit_config.load_config(config, "@NSAN_LIT_SOURCE_DIR@/lit.cfg.py")