llvm-project/clang-tools-extra/test/include-fixer
Michal Gorny a81de445c1 [cmake] Support running extra clang tool tests without static analyzer
Support running the extra clang tool tests when the static analyzer
is disabled. Disable the relevant clang-tidy tests and one include-fixer
test that require it to work.

Previously, the tests were disabled entirely with
CLANG_ENABLE_STATIC_ANALYZER being false. Now, the tests are being
enabled and the relevant tests are excluded and marked unsupported
appropriately.

In order to disable clang-tidy tests, the whole test directory is added
to the exclude lists, to avoid having to explicitly add 'REQUIRES' line
to every single test. If the other solution is preferable, I can update
the patch.

The yamldb_plugin include-fixer test is also updated to be disabled
without static analyzer. It fails in that case because clang is not
outputting a replacement suggestion -- but I don't know the exact
reason why it does not do that.

Differential Revision: https://reviews.llvm.org/D37188

llvm-svn: 311983
2017-08-29 05:58:08 +00:00
..
Inputs [include-fixer] Add fuzzy SymbolIndex, where identifier needn't match exactly. 2017-03-13 15:55:59 +00:00
commandline_options.cpp Remove most instances of REQUIRES: shell from the tools/extra tests 2016-08-16 16:07:46 +00:00
exit_on_fatal.cpp Remove most instances of REQUIRES: shell from the tools/extra tests 2016-08-16 16:07:46 +00:00
fixeddb.cpp Remove most instances of REQUIRES: shell from the tools/extra tests 2016-08-16 16:07:46 +00:00
include_path.cpp Remove most instances of REQUIRES: shell from the tools/extra tests 2016-08-16 16:07:46 +00:00
merge.test [include-fixer] Remove line number from Symbol identity 2017-03-09 10:47:44 +00:00
multiple_fixes.cpp [include-fixer] Support processing multiple files in one run. 2016-08-09 08:26:19 +00:00
prefix_variable.cpp Remove most instances of REQUIRES: shell from the tools/extra tests 2016-08-16 16:07:46 +00:00
query_symbol.cpp [include-fixer] Support finding headers for the symbol under cursor. 2016-09-07 16:34:35 +00:00
ranking.cpp Improve include fixer's ranking by taking the paths into account. 2017-01-11 10:32:47 +00:00
yaml_fuzzy.cpp [include-fixer] Add fuzzy SymbolIndex, where identifier needn't match exactly. 2017-03-13 15:55:59 +00:00
yamldb.cpp Remove most instances of REQUIRES: shell from the tools/extra tests 2016-08-16 16:07:46 +00:00
yamldb_autodetect.cpp Remove most instances of REQUIRES: shell from the tools/extra tests 2016-08-16 16:07:46 +00:00
yamldb_plugin.cpp [cmake] Support running extra clang tool tests without static analyzer 2017-08-29 05:58:08 +00:00