summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/shadowcallstack
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-06-27 20:56:04 +0000
committerReid Kleckner <rnk@google.com>2019-06-27 20:56:04 +0000
commit8007ff1ab159ae56cb32184626119b7087c59d06 (patch)
treeb81b95b68297ce7cdcb60a3acb7b6990f182d153 /compiler-rt/test/shadowcallstack
parentfa36593f4c0fab2b7463bc498b20c0e19f6f220e (diff)
downloadbcm5719-llvm-8007ff1ab159ae56cb32184626119b7087c59d06.tar.gz
bcm5719-llvm-8007ff1ab159ae56cb32184626119b7087c59d06.zip
[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
Diffstat (limited to 'compiler-rt/test/shadowcallstack')
-rw-r--r--compiler-rt/test/shadowcallstack/CMakeLists.txt4
-rw-r--r--compiler-rt/test/shadowcallstack/lit.cfg.py (renamed from compiler-rt/test/shadowcallstack/lit.cfg)0
-rw-r--r--compiler-rt/test/shadowcallstack/lit.site.cfg.py.in (renamed from compiler-rt/test/shadowcallstack/lit.site.cfg.in)2
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/shadowcallstack/CMakeLists.txt b/compiler-rt/test/shadowcallstack/CMakeLists.txt
index ab2b18819d4..0333eb6fd6b 100644
--- a/compiler-rt/test/shadowcallstack/CMakeLists.txt
+++ b/compiler-rt/test/shadowcallstack/CMakeLists.txt
@@ -10,8 +10,8 @@ foreach(arch ${SHADOWCALLSTACK_SUPPORTED_ARCH})
get_test_cc_for_arch(${arch}
SHADOWSTACK_TEST_TARGET_CC SHADOWSTACK_TEST_TARGET_CFLAGS)
configure_lit_site_cfg(
- ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
- ${CMAKE_CURRENT_BINARY_DIR}/${arch}/lit.site.cfg)
+ ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
+ ${CMAKE_CURRENT_BINARY_DIR}/${arch}/lit.site.cfg.py)
list(APPEND SHADOWCALLSTACK_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/${arch})
endforeach()
diff --git a/compiler-rt/test/shadowcallstack/lit.cfg b/compiler-rt/test/shadowcallstack/lit.cfg.py
index d04d37831dd..d04d37831dd 100644
--- a/compiler-rt/test/shadowcallstack/lit.cfg
+++ b/compiler-rt/test/shadowcallstack/lit.cfg.py
diff --git a/compiler-rt/test/shadowcallstack/lit.site.cfg.in b/compiler-rt/test/shadowcallstack/lit.site.cfg.py.in
index aa8913e84cb..4200caf9381 100644
--- a/compiler-rt/test/shadowcallstack/lit.site.cfg.in
+++ b/compiler-rt/test/shadowcallstack/lit.site.cfg.py.in
@@ -9,4 +9,4 @@ config.target_arch = "@SHADOWCALLSTACK_TEST_TARGET_ARCH@"
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, "@SHADOWCALLSTACK_LIT_SOURCE_DIR@/lit.cfg")
+lit_config.load_config(config, "@SHADOWCALLSTACK_LIT_SOURCE_DIR@/lit.cfg.py")
OpenPOWER on IntegriCloud