summaryrefslogtreecommitdiff
path: root/sys-devel/clang
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-12-15 16:56:39 +0100
committerMichał Górny <mgorny@gentoo.org>2017-12-15 17:20:13 +0100
commitf54f6b84a7ce1268657991103363eebfcfe4e332 (patch)
treecf28e5554c651f834c31e3dcd178a1b162bed79d /sys-devel/clang
parentec2b720c5897a89976c7a5fc9f75475eef79c860 (diff)
downloadgentoo-f54f6b84a7ce1268657991103363eebfcfe4e332.tar.gz
gentoo-f54f6b84a7ce1268657991103363eebfcfe4e332.tar.xz
sys-devel/clang: Restrict tests with USE=-test
Diffstat (limited to 'sys-devel/clang')
-rw-r--r--sys-devel/clang/clang-5.0.9999.ebuild1
-rw-r--r--sys-devel/clang/clang-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys-devel/clang/clang-5.0.9999.ebuild b/sys-devel/clang/clang-5.0.9999.ebuild
index f76c84f2306..458f5359014 100644
--- a/sys-devel/clang/clang-5.0.9999.ebuild
+++ b/sys-devel/clang/clang-5.0.9999.ebuild
@@ -29,6 +29,7 @@ SLOT="$(ver_cut 1)"
KEYWORDS=""
IUSE="debug default-compiler-rt default-libcxx doc +static-analyzer
test xml z3 kernel_FreeBSD ${ALL_LLVM_TARGETS[*]}"
+RESTRICT="!test? ( test )"
RDEPEND="
~sys-devel/llvm-${PV}:${SLOT}=[debug=,${LLVM_TARGET_USEDEPS// /,},${MULTILIB_USEDEP}]
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index fa7bcae61ff..63df839c8c2 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -30,6 +30,7 @@ SLOT="6"
KEYWORDS=""
IUSE="debug default-compiler-rt default-libcxx doc +static-analyzer
test xml z3 kernel_FreeBSD ${ALL_LLVM_TARGETS[*]}"
+RESTRICT="!test? ( test )"
RDEPEND="
~sys-devel/llvm-${PV}:${SLOT}=[debug=,${LLVM_TARGET_USEDEPS// /,},${MULTILIB_USEDEP}]