]> granicus.if.org Git - clang/commit
[Analysis] Only run plugins tests if plugins are actually enabled
authorPetr Hosek <phosek@chromium.org>
Fri, 17 May 2019 06:07:37 +0000 (06:07 +0000)
committerPetr Hosek <phosek@chromium.org>
Fri, 17 May 2019 06:07:37 +0000 (06:07 +0000)
commitb683b09450435719ac161de454805cbe234a872c
tree19598eaba69f5300c84730844ab406fd7c9eaf7f
parent2a9fb4c8c87f0a5a17fe246a3940a33954de383c
[Analysis] Only run plugins tests if plugins are actually enabled

When plugins aren't enabled, don't try to run plugins tests. Don't
enable plugins unconditionally based on the platform, instead check
if LLVM shared library is actually being built which may not be the
case for every host configuration, even if the host itself supports
plugins.

This addresses test failures introduced by r360891/D59464.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360991 91177308-0d34-0410-b5e6-96231b3b80d8
test/Analysis/checker-plugins.c
test/CMakeLists.txt
test/lit.cfg.py
test/lit.site.cfg.py.in