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/sanitizer_common | |
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/sanitizer_common')
-rw-r--r-- | test/sanitizer_common/CMakeLists.txt | 8 | ||||
-rw-r--r-- | test/sanitizer_common/TestCases/Darwin/lit.local.cfg.py (renamed from test/sanitizer_common/TestCases/Darwin/lit.local.cfg) | 0 | ||||
-rw-r--r-- | test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg.py (renamed from test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg) | 0 | ||||
-rw-r--r-- | test/sanitizer_common/TestCases/Linux/lit.local.cfg.py (renamed from test/sanitizer_common/TestCases/Linux/lit.local.cfg) | 0 | ||||
-rw-r--r-- | test/sanitizer_common/TestCases/NetBSD/lit.local.cfg.py (renamed from test/sanitizer_common/TestCases/NetBSD/lit.local.cfg) | 0 | ||||
-rw-r--r-- | test/sanitizer_common/TestCases/Posix/lit.local.cfg.py (renamed from test/sanitizer_common/TestCases/Posix/lit.local.cfg) | 0 | ||||
-rw-r--r-- | test/sanitizer_common/Unit/lit.site.cfg.py.in (renamed from test/sanitizer_common/Unit/lit.site.cfg.in) | 0 | ||||
-rw-r--r-- | test/sanitizer_common/lit.common.cfg.py (renamed from test/sanitizer_common/lit.common.cfg) | 0 | ||||
-rw-r--r-- | test/sanitizer_common/lit.site.cfg.py.in (renamed from test/sanitizer_common/lit.site.cfg.in) | 2 |
9 files changed, 5 insertions, 5 deletions
diff --git a/test/sanitizer_common/CMakeLists.txt b/test/sanitizer_common/CMakeLists.txt index dd251c6ef..48fccf058 100644 --- a/test/sanitizer_common/CMakeLists.txt +++ b/test/sanitizer_common/CMakeLists.txt @@ -66,8 +66,8 @@ foreach(tool ${SUPPORTED_TOOLS}) get_test_cc_for_arch(${arch} SANITIZER_COMMON_TEST_TARGET_CC SANITIZER_COMMON_TEST_TARGET_CFLAGS) set(CONFIG_NAME ${tool}-${arch}-${OS_NAME}) configure_lit_site_cfg( - ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in - ${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_NAME}/lit.site.cfg) + ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in + ${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_NAME}/lit.site.cfg.py) # FIXME(dliew): LSan i386 on Darwin is completly broken right now. # so don't run the tests by default. if (NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" AND @@ -82,8 +82,8 @@ endforeach() # Unit tests. if(COMPILER_RT_INCLUDE_TESTS) configure_lit_site_cfg( - ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in - ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg) + ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.py.in + ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg.py) # FIXME: support unit test in the android test runner if (NOT ANDROID) list(APPEND SANITIZER_COMMON_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/Unit) diff --git a/test/sanitizer_common/TestCases/Darwin/lit.local.cfg b/test/sanitizer_common/TestCases/Darwin/lit.local.cfg.py index a85dfcd24..a85dfcd24 100644 --- a/test/sanitizer_common/TestCases/Darwin/lit.local.cfg +++ b/test/sanitizer_common/TestCases/Darwin/lit.local.cfg.py diff --git a/test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg b/test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg.py index 6f2f4280f..6f2f4280f 100644 --- a/test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg +++ b/test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg.py diff --git a/test/sanitizer_common/TestCases/Linux/lit.local.cfg b/test/sanitizer_common/TestCases/Linux/lit.local.cfg.py index 57271b807..57271b807 100644 --- a/test/sanitizer_common/TestCases/Linux/lit.local.cfg +++ b/test/sanitizer_common/TestCases/Linux/lit.local.cfg.py diff --git a/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg b/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg.py index 94023561f..94023561f 100644 --- a/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg +++ b/test/sanitizer_common/TestCases/NetBSD/lit.local.cfg.py diff --git a/test/sanitizer_common/TestCases/Posix/lit.local.cfg b/test/sanitizer_common/TestCases/Posix/lit.local.cfg.py index 60a946082..60a946082 100644 --- a/test/sanitizer_common/TestCases/Posix/lit.local.cfg +++ b/test/sanitizer_common/TestCases/Posix/lit.local.cfg.py diff --git a/test/sanitizer_common/Unit/lit.site.cfg.in b/test/sanitizer_common/Unit/lit.site.cfg.py.in index 46855d9e8..46855d9e8 100644 --- a/test/sanitizer_common/Unit/lit.site.cfg.in +++ b/test/sanitizer_common/Unit/lit.site.cfg.py.in diff --git a/test/sanitizer_common/lit.common.cfg b/test/sanitizer_common/lit.common.cfg.py index a9965f070..a9965f070 100644 --- a/test/sanitizer_common/lit.common.cfg +++ b/test/sanitizer_common/lit.common.cfg.py diff --git a/test/sanitizer_common/lit.site.cfg.in b/test/sanitizer_common/lit.site.cfg.py.in index 414eabad1..38f5ca158 100644 --- a/test/sanitizer_common/lit.site.cfg.in +++ b/test/sanitizer_common/lit.site.cfg.py.in @@ -10,5 +10,5 @@ config.target_arch = "@SANITIZER_COMMON_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, "@SANITIZER_COMMON_LIT_SOURCE_DIR@/lit.common.cfg") +lit_config.load_config(config, "@SANITIZER_COMMON_LIT_SOURCE_DIR@/lit.common.cfg.py") |