Skip to content

Commit

Permalink
[clang-tools-extra] Remove unused lit features/substitutions. NFCI
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-mccall committed Mar 10, 2022
1 parent 6ed2f89 commit 2d58ba2
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions clang-tools-extra/test/lit.cfg.py
Expand Up @@ -16,9 +16,6 @@
config.name = 'Clang Tools'

# testFormat: The test format to use to interpret tests.
#
# For now we require '&&' between commands, until they get globally killed and
# the test runner updated.
config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)

# suffixes: A list of file extensions to treat as test files.
Expand Down Expand Up @@ -73,23 +70,6 @@
config.environment.get('LD_LIBRARY_PATH','')))
config.environment['LD_LIBRARY_PATH'] = path

# When running under valgrind, we mangle '-vg' onto the end of the triple so we
# can check it with XFAIL and XTARGET.
if lit_config.useValgrind:
config.target_triple += '-vg'

config.available_features.add('crash-recovery')
# Set available features we allow tests to conditionalize on.
#

# Exclude MSYS due to transforming '/' to 'X:/mingwroot/'.
if not platform.system() in ['Windows'] or llvm_config.use_lit_shell:
config.available_features.add('shell-preserves-root')

# ANSI escape sequences in non-dumb terminal
if platform.system() not in ['Windows']:
config.available_features.add('ansi-escape-sequences')

if config.clang_tidy_staticanalyzer:
config.available_features.add('static-analyzer')

Expand Down Expand Up @@ -119,11 +99,6 @@
('%run_clang_tidy',
'%s %s' % (python_exec, run_clang_tidy)) )

clangd_benchmarks_dir = os.path.join(os.path.dirname(config.clang_tools_dir),
"tools", "clang", "tools", "extra",
"clangd", "benchmarks")
config.substitutions.append(('%clangd-benchmark-dir',
'%s' % (clangd_benchmarks_dir)))
config.substitutions.append(('%llvmshlibdir', config.clang_libs_dir))
config.substitutions.append(('%pluginext', config.llvm_plugin_ext))

Expand Down

0 comments on commit 2d58ba2

Please sign in to comment.