From 95b6a805b1a6d75413eeb60b2f83e53a21443d5e Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 26 Aug 2017 21:03:07 +0200 Subject: sys-devel/clang: Disable extra tests w/o static-anal Tests for clang-tools-extra are disabled upstream if static-analyzer is disabled. This is related to the fact that clang-tidy requires it, and upstream did not split the tests properly (yet). Bug: https://bugs.gentoo.org/627974 --- sys-devel/clang/clang-4.0.1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys-devel/clang/clang-4.0.1.ebuild') diff --git a/sys-devel/clang/clang-4.0.1.ebuild b/sys-devel/clang/clang-4.0.1.ebuild index 821cae0ab5b8..91478e80294c 100644 --- a/sys-devel/clang/clang-4.0.1.ebuild +++ b/sys-devel/clang/clang-4.0.1.ebuild @@ -193,7 +193,11 @@ multilib_src_test() { # respect TMPDIR! local -x LIT_PRESERVES_TMP=1 cmake-utils_src_make check-clang - multilib_is_native_abi && cmake-utils_src_make check-clang-tools + # clang-tidy requires [static-analyzer] and tests are not split + # correctly, so they are all disabled when static-analyzer is off + if multilib_is_native_abi && use static-analyzer; then + cmake-utils_src_make check-clang-tools + fi } src_install() { -- cgit v1.2.3-65-gdbad