[compiler-rt] r367911 - compiler-rt: Remove .cc from all lit config files
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 5 12:25:35 PDT 2019
Author: nico
Date: Mon Aug 5 12:25:35 2019
New Revision: 367911
URL: http://llvm.org/viewvc/llvm-project?rev=367911&view=rev
Log:
compiler-rt: Remove .cc from all lit config files
All cc files have been renamed to cpp now.
Modified:
compiler-rt/trunk/test/asan/lit.cfg.py
compiler-rt/trunk/test/builtins/Unit/lit.cfg.py
compiler-rt/trunk/test/builtins/lit.cfg.py
compiler-rt/trunk/test/crt/lit.cfg.py
compiler-rt/trunk/test/gwp_asan/lit.cfg.py
compiler-rt/trunk/test/lsan/lit.common.cfg.py
compiler-rt/trunk/test/msan/lit.cfg.py
compiler-rt/trunk/test/safestack/lit.cfg.py
compiler-rt/trunk/test/sanitizer_common/lit.common.cfg.py
compiler-rt/trunk/test/scudo/lit.cfg.py
compiler-rt/trunk/test/shadowcallstack/lit.cfg.py
compiler-rt/trunk/test/tsan/lit.cfg.py
compiler-rt/trunk/test/ubsan_minimal/lit.common.cfg.py
Modified: compiler-rt/trunk/test/asan/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/lit.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/lit.cfg.py (original)
+++ compiler-rt/trunk/test/asan/lit.cfg.py Mon Aug 5 12:25:35 2019
@@ -210,7 +210,7 @@ if config.host_os == 'Windows' and confi
os.environ.get('PATH', '')])
# Default test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp']
+config.suffixes = ['.c', '.cpp']
if config.host_os == 'Darwin':
config.suffixes.append('.mm')
Modified: compiler-rt/trunk/test/builtins/Unit/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/lit.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/lit.cfg.py (original)
+++ compiler-rt/trunk/test/builtins/Unit/lit.cfg.py Mon Aug 5 12:25:35 2019
@@ -87,7 +87,7 @@ config.substitutions.append( ("%arm_call
build_invocation(call_apsr_flags)) )
# Default test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp']
+config.suffixes = ['.c', '.cpp']
if not config.emulator:
config.available_features.add('native-run')
Modified: compiler-rt/trunk/test/builtins/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/lit.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/lit.cfg.py (original)
+++ compiler-rt/trunk/test/builtins/lit.cfg.py Mon Aug 5 12:25:35 2019
@@ -9,7 +9,7 @@ config.name = 'Builtins'
config.test_source_root = os.path.dirname(__file__)
# Test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp', '.m', '.mm']
+config.suffixes = ['.c', '.cpp', '.m', '.mm']
# Define %clang and %clangxx substitutions to use in test RUN lines.
config.substitutions.append( ("%clang ", " " + config.clang + " ") )
Modified: compiler-rt/trunk/test/crt/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/crt/lit.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/crt/lit.cfg.py (original)
+++ compiler-rt/trunk/test/crt/lit.cfg.py Mon Aug 5 12:25:35 2019
@@ -72,7 +72,7 @@ config.substitutions.append(
('%libstdcxx', '-l' + config.sanitizer_cxx_lib.lstrip('lib')))
# Default test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp']
+config.suffixes = ['.c', '.cpp']
if config.host_os not in ['Linux']:
config.unsupported = True
Modified: compiler-rt/trunk/test/gwp_asan/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/gwp_asan/lit.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/gwp_asan/lit.cfg.py (original)
+++ compiler-rt/trunk/test/gwp_asan/lit.cfg.py Mon Aug 5 12:25:35 2019
@@ -9,7 +9,7 @@ config.name = 'GWP-ASan' + config.name_s
config.test_source_root = os.path.dirname(__file__)
# Test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp', '.test']
+config.suffixes = ['.c', '.cpp', '.test']
# C & CXX flags.
c_flags = ([config.target_cflags])
Modified: compiler-rt/trunk/test/lsan/lit.common.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/lsan/lit.common.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/lsan/lit.common.cfg.py (original)
+++ compiler-rt/trunk/test/lsan/lit.common.cfg.py Mon Aug 5 12:25:35 2019
@@ -78,4 +78,4 @@ if not (supported_linux or supported_dar
if re.search('mthumb', config.target_cflags) is not None:
config.unsupported = True
-config.suffixes = ['.c', '.cc', '.cpp', '.mm']
+config.suffixes = ['.c', '.cpp', '.mm']
Modified: compiler-rt/trunk/test/msan/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/msan/lit.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/msan/lit.cfg.py (original)
+++ compiler-rt/trunk/test/msan/lit.cfg.py Mon Aug 5 12:25:35 2019
@@ -33,7 +33,7 @@ config.substitutions.append( ("%clangxx_
config.substitutions.append( ("%clang_kmsan ", build_invocation(clang_kmsan_cflags)) )
# Default test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp']
+config.suffixes = ['.c', '.cpp']
if config.host_os not in ['Linux', 'NetBSD', 'FreeBSD']:
config.unsupported = True
Modified: compiler-rt/trunk/test/safestack/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/safestack/lit.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/safestack/lit.cfg.py (original)
+++ compiler-rt/trunk/test/safestack/lit.cfg.py Mon Aug 5 12:25:35 2019
@@ -9,7 +9,7 @@ config.name = 'SafeStack'
config.test_source_root = os.path.dirname(__file__)
# Test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp', '.m', '.mm', '.ll', '.test']
+config.suffixes = ['.c', '.cpp', '.m', '.mm', '.ll', '.test']
# Add clang substitutions.
config.substitutions.append( ("%clang_nosafestack ", config.clang + " -O0 -fno-sanitize=safe-stack ") )
Modified: compiler-rt/trunk/test/sanitizer_common/lit.common.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/lit.common.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/lit.common.cfg.py (original)
+++ compiler-rt/trunk/test/sanitizer_common/lit.common.cfg.py Mon Aug 5 12:25:35 2019
@@ -66,7 +66,7 @@ config.substitutions.append( ("%tool_opt
config.substitutions.append( ('%env_tool_opts=',
'env ' + tool_options + '=' + default_tool_options_str))
-config.suffixes = ['.c', '.cc', '.cpp']
+config.suffixes = ['.c', '.cpp']
if config.host_os not in ['Linux', 'Darwin', 'NetBSD', 'FreeBSD']:
config.unsupported = True
Modified: compiler-rt/trunk/test/scudo/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/scudo/lit.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/scudo/lit.cfg.py (original)
+++ compiler-rt/trunk/test/scudo/lit.cfg.py Mon Aug 5 12:25:35 2019
@@ -13,7 +13,7 @@ shared_libscudo = os.path.join(config.co
shared_minlibscudo = os.path.join(config.compiler_rt_libdir, "libclang_rt.scudo_minimal-%s.so" % config.target_arch)
# Test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp', '.test']
+config.suffixes = ['.c', '.cpp', '.test']
# C & CXX flags.
c_flags = ([config.target_cflags] +
Modified: compiler-rt/trunk/test/shadowcallstack/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/shadowcallstack/lit.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/shadowcallstack/lit.cfg.py (original)
+++ compiler-rt/trunk/test/shadowcallstack/lit.cfg.py Mon Aug 5 12:25:35 2019
@@ -9,7 +9,7 @@ config.name = 'ShadowCallStack'
config.test_source_root = os.path.dirname(__file__)
# Test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp', '.m', '.mm', '.ll', '.test']
+config.suffixes = ['.c', '.cpp', '.m', '.mm', '.ll', '.test']
# Add clang substitutions.
config.substitutions.append( ("%clang_noscs ", config.clang + ' -O0 -fno-sanitize=shadow-call-stack ' + config.target_cflags + ' ') )
Modified: compiler-rt/trunk/test/tsan/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/lit.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/lit.cfg.py (original)
+++ compiler-rt/trunk/test/tsan/lit.cfg.py Mon Aug 5 12:25:35 2019
@@ -78,7 +78,7 @@ config.substitutions.append( ('CHECK-%os
config.substitutions.append( ("%deflake ", os.path.join(os.path.dirname(__file__), "deflake.bash") + " "))
# Default test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp', '.m', '.mm']
+config.suffixes = ['.c', '.cpp', '.m', '.mm']
if config.host_os not in ['FreeBSD', 'Linux', 'Darwin', 'NetBSD']:
config.unsupported = True
Modified: compiler-rt/trunk/test/ubsan_minimal/lit.common.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan_minimal/lit.common.cfg.py?rev=367911&r1=367910&r2=367911&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan_minimal/lit.common.cfg.py (original)
+++ compiler-rt/trunk/test/ubsan_minimal/lit.common.cfg.py Mon Aug 5 12:25:35 2019
@@ -27,7 +27,7 @@ config.substitutions.append( ("%clang ",
config.substitutions.append( ("%clangxx ", build_invocation(clang_ubsan_cxxflags)) )
# Default test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp']
+config.suffixes = ['.c', '.cpp']
# Check that the host supports UndefinedBehaviorSanitizerMinimal tests
if config.host_os not in ['Linux', 'FreeBSD', 'NetBSD', 'Darwin', 'OpenBSD']: # TODO: Windows
More information about the llvm-commits
mailing list