summaryrefslogtreecommitdiff
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
parentsys-devel/lld: Restrict tests with USE=-test (diff)
downloadgentoo-f54f6b84a7ce1268657991103363eebfcfe4e332.tar.gz
gentoo-f54f6b84a7ce1268657991103363eebfcfe4e332.tar.bz2
gentoo-f54f6b84a7ce1268657991103363eebfcfe4e332.zip
sys-devel/clang: Restrict tests with USE=-test
-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 f76c84f2306c..458f5359014e 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 fa7bcae61ff0..63df839c8c24 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}]