diff options
author | Reid Kleckner <rnk@google.com> | 2019-06-27 20:56:04 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-06-27 20:56:04 +0000 |
commit | 60eb072a16750ccae175e4c06f9135ba3669cbdd (patch) | |
tree | e02b08a7781866e05e6390ff90c9b6c735074ff0 /test/tsan/lit.site.cfg.py.in | |
parent | 09f9fd48848d915f14c5146b4e67d37b2be45ead (diff) | |
download | compiler-rt-60eb072a16750ccae175e4c06f9135ba3669cbdd.tar.gz |
[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
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@364591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/lit.site.cfg.py.in')
-rw-r--r-- | test/tsan/lit.site.cfg.py.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/tsan/lit.site.cfg.py.in b/test/tsan/lit.site.cfg.py.in new file mode 100644 index 000000000..a85025980 --- /dev/null +++ b/test/tsan/lit.site.cfg.py.in @@ -0,0 +1,14 @@ +@LIT_SITE_CFG_IN_HEADER@ + +config.name_suffix = "@TSAN_TEST_CONFIG_SUFFIX@" +config.tsan_lit_source_dir = "@TSAN_LIT_SOURCE_DIR@" +config.has_libcxx = @TSAN_HAS_LIBCXX@ +config.apple_platform = "@TSAN_TEST_APPLE_PLATFORM@" +config.target_cflags = "@TSAN_TEST_TARGET_CFLAGS@" +config.target_arch = "@TSAN_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, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg.py") |