Files
clang-p2996/compiler-rt/test/interception/Unit/lit.site.cfg.py.in
Reid Kleckner 8007ff1ab1 [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.*
These lit configuration files are really Python source code. Using the
.py file extension helps editors and tools use the correct language
mode. LLVM and Clang already use this convention for lit configuration,
this change simply applies it to all of compiler-rt.

Reviewers: vitalybuka, dberris

Differential Revision: https://reviews.llvm.org/D63658

llvm-svn: 364591
2019-06-27 20:56:04 +00:00

15 lines
556 B
Python

@LIT_SITE_CFG_IN_HEADER@
# Load common config for all compiler-rt unit tests.
lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured")
# Setup config name.
config.name = 'Interception-Unit'
# Setup test source and exec root. For unit tests, we define
# it as build directory with interception tests.
# FIXME: De-hardcode this path.
config.test_exec_root = os.path.join("@COMPILER_RT_BINARY_DIR@", "lib",
"interception", "tests")
config.test_source_root = config.test_exec_root