summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/builtins/Unit
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/builtins/Unit
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/builtins/Unit')
-rw-r--r--compiler-rt/test/builtins/Unit/lit.cfg.py (renamed from compiler-rt/test/builtins/Unit/lit.cfg)2
-rw-r--r--compiler-rt/test/builtins/Unit/lit.site.cfg.py.in (renamed from compiler-rt/test/builtins/Unit/lit.site.cfg.in)2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/builtins/Unit/lit.cfg b/compiler-rt/test/builtins/Unit/lit.cfg.py
index d5fa73b0c64..3d7e8bf9ca9 100644
--- a/compiler-rt/test/builtins/Unit/lit.cfg
+++ b/compiler-rt/test/builtins/Unit/lit.cfg.py
@@ -11,7 +11,7 @@ def get_required_attr(config, attr_name):
lit_config.fatal(
"No attribute %r in test configuration! You may need to run "
"tests from your build directory or add this attribute "
- "to lit.site.cfg " % attr_name)
+ "to lit.site.cfg.py " % attr_name)
return attr_value
# Setup config name.
diff --git a/compiler-rt/test/builtins/Unit/lit.site.cfg.in b/compiler-rt/test/builtins/Unit/lit.site.cfg.py.in
index 75d70f70323..10af443139d 100644
--- a/compiler-rt/test/builtins/Unit/lit.site.cfg.in
+++ b/compiler-rt/test/builtins/Unit/lit.site.cfg.py.in
@@ -10,4 +10,4 @@ config.builtins_is_msvc = @BUILTINS_IS_MSVC_PYBOOL@
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, "@BUILTINS_LIT_SOURCE_DIR@/Unit/lit.cfg")
+lit_config.load_config(config, "@BUILTINS_LIT_SOURCE_DIR@/Unit/lit.cfg.py")
OpenPOWER on IntegriCloud