xref: /llvm-project/compiler-rt/test/rtsan/lit.site.cfg.py.in (revision 1adb55b1c4bfd21752e6b2718c3c4b8abb203d09)
1*1adb55b1SChris Apple@LIT_SITE_CFG_IN_HEADER@
2*1adb55b1SChris Apple
3*1adb55b1SChris Apple# Tool-specific config options.
4*1adb55b1SChris Appleconfig.name_suffix = "@RTSAN_TEST_CONFIG_SUFFIX@"
5*1adb55b1SChris Appleconfig.rtsan_lit_source_dir = "@RTSAN_LIT_SOURCE_DIR@"
6*1adb55b1SChris Appleconfig.target_cflags = "@RTSAN_TEST_TARGET_CFLAGS@"
7*1adb55b1SChris Appleconfig.target_arch = "@RTSAN_TEST_TARGET_ARCH@"
8*1adb55b1SChris Appleconfig.built_with_llvm = ("@COMPILER_RT_STANDALONE_BUILD@" != "TRUE")
9*1adb55b1SChris Apple
10*1adb55b1SChris Appleif config.built_with_llvm:
11*1adb55b1SChris Apple  config.available_features.add('built-in-llvm-tree')
12*1adb55b1SChris Apple
13*1adb55b1SChris Apple# Load common config for all compiler-rt lit tests
14*1adb55b1SChris Applelit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
15*1adb55b1SChris Apple
16*1adb55b1SChris Apple# Load tool-specific config that would do the real work.
17*1adb55b1SChris Applelit_config.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg.py")
18