diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-08-05 19:25:35 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-08-05 19:25:35 +0000 |
commit | 307beb13afad24958fb05fd98acd11e1dace34e9 (patch) | |
tree | 8b781b029ba4b6cd4e8d30d59997fdaf17172d74 | |
parent | 78769ec403873ba243a5131150851f5ffaec6e9d (diff) | |
download | bcm5719-llvm-307beb13afad24958fb05fd98acd11e1dace34e9.tar.gz bcm5719-llvm-307beb13afad24958fb05fd98acd11e1dace34e9.zip |
compiler-rt: Remove .cc from all lit config files
All cc files have been renamed to cpp now.
llvm-svn: 367911
-rw-r--r-- | compiler-rt/test/asan/lit.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/builtins/Unit/lit.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/builtins/lit.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/crt/lit.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/gwp_asan/lit.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/lsan/lit.common.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/msan/lit.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/safestack/lit.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/sanitizer_common/lit.common.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/scudo/lit.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/shadowcallstack/lit.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/tsan/lit.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/ubsan_minimal/lit.common.cfg.py | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/compiler-rt/test/asan/lit.cfg.py b/compiler-rt/test/asan/lit.cfg.py index e94a65304c4..e233b5f7c6e 100644 --- a/compiler-rt/test/asan/lit.cfg.py +++ b/compiler-rt/test/asan/lit.cfg.py @@ -210,7 +210,7 @@ if config.host_os == 'Windows' and config.asan_dynamic: 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') diff --git a/compiler-rt/test/builtins/Unit/lit.cfg.py b/compiler-rt/test/builtins/Unit/lit.cfg.py index 3d7e8bf9ca9..e290ce10716 100644 --- a/compiler-rt/test/builtins/Unit/lit.cfg.py +++ b/compiler-rt/test/builtins/Unit/lit.cfg.py @@ -87,7 +87,7 @@ config.substitutions.append( ("%arm_call_apsr ", \ 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') diff --git a/compiler-rt/test/builtins/lit.cfg.py b/compiler-rt/test/builtins/lit.cfg.py index 0044df7ba72..f9aae8fded6 100644 --- a/compiler-rt/test/builtins/lit.cfg.py +++ b/compiler-rt/test/builtins/lit.cfg.py @@ -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 + " ") ) diff --git a/compiler-rt/test/crt/lit.cfg.py b/compiler-rt/test/crt/lit.cfg.py index eaf00217e04..591ae08fd67 100644 --- a/compiler-rt/test/crt/lit.cfg.py +++ b/compiler-rt/test/crt/lit.cfg.py @@ -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 diff --git a/compiler-rt/test/gwp_asan/lit.cfg.py b/compiler-rt/test/gwp_asan/lit.cfg.py index 669072f7eb9..a1b2551c2f9 100644 --- a/compiler-rt/test/gwp_asan/lit.cfg.py +++ b/compiler-rt/test/gwp_asan/lit.cfg.py @@ -9,7 +9,7 @@ config.name = 'GWP-ASan' + config.name_suffix 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]) diff --git a/compiler-rt/test/lsan/lit.common.cfg.py b/compiler-rt/test/lsan/lit.common.cfg.py index 945eb196e69..25350ae8df3 100644 --- a/compiler-rt/test/lsan/lit.common.cfg.py +++ b/compiler-rt/test/lsan/lit.common.cfg.py @@ -78,4 +78,4 @@ if not (supported_linux or supported_darwin or supported_netbsd): if re.search('mthumb', config.target_cflags) is not None: config.unsupported = True -config.suffixes = ['.c', '.cc', '.cpp', '.mm'] +config.suffixes = ['.c', '.cpp', '.mm'] diff --git a/compiler-rt/test/msan/lit.cfg.py b/compiler-rt/test/msan/lit.cfg.py index e08673d5cfe..d45b54620bd 100644 --- a/compiler-rt/test/msan/lit.cfg.py +++ b/compiler-rt/test/msan/lit.cfg.py @@ -33,7 +33,7 @@ config.substitutions.append( ("%clangxx_msan ", build_invocation(clang_msan_cxxf 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 diff --git a/compiler-rt/test/safestack/lit.cfg.py b/compiler-rt/test/safestack/lit.cfg.py index f58ec45533d..95a115986ec 100644 --- a/compiler-rt/test/safestack/lit.cfg.py +++ b/compiler-rt/test/safestack/lit.cfg.py @@ -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 ") ) diff --git a/compiler-rt/test/sanitizer_common/lit.common.cfg.py b/compiler-rt/test/sanitizer_common/lit.common.cfg.py index a9965f070f8..5f4f2d892b6 100644 --- a/compiler-rt/test/sanitizer_common/lit.common.cfg.py +++ b/compiler-rt/test/sanitizer_common/lit.common.cfg.py @@ -66,7 +66,7 @@ config.substitutions.append( ("%tool_options", tool_options) ) 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 diff --git a/compiler-rt/test/scudo/lit.cfg.py b/compiler-rt/test/scudo/lit.cfg.py index ca2c1b970c1..dc96044daad 100644 --- a/compiler-rt/test/scudo/lit.cfg.py +++ b/compiler-rt/test/scudo/lit.cfg.py @@ -13,7 +13,7 @@ shared_libscudo = os.path.join(config.compiler_rt_libdir, "libclang_rt.scudo%s.s 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] + diff --git a/compiler-rt/test/shadowcallstack/lit.cfg.py b/compiler-rt/test/shadowcallstack/lit.cfg.py index d04d37831dd..fc736af8c4f 100644 --- a/compiler-rt/test/shadowcallstack/lit.cfg.py +++ b/compiler-rt/test/shadowcallstack/lit.cfg.py @@ -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 + ' ') ) diff --git a/compiler-rt/test/tsan/lit.cfg.py b/compiler-rt/test/tsan/lit.cfg.py index 813544831ca..a16d8e7199a 100644 --- a/compiler-rt/test/tsan/lit.cfg.py +++ b/compiler-rt/test/tsan/lit.cfg.py @@ -78,7 +78,7 @@ config.substitutions.append( ('CHECK-%os', ("CHECK-" + config.host_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 diff --git a/compiler-rt/test/ubsan_minimal/lit.common.cfg.py b/compiler-rt/test/ubsan_minimal/lit.common.cfg.py index b9106d7ece7..d9d203ca8ec 100644 --- a/compiler-rt/test/ubsan_minimal/lit.common.cfg.py +++ b/compiler-rt/test/ubsan_minimal/lit.common.cfg.py @@ -27,7 +27,7 @@ config.substitutions.append( ("%clang ", build_invocation(clang_ubsan_cflags)) ) 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 |