summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-12-15 17:02:59 +0100
committerMichał Górny <mgorny@gentoo.org>2017-12-15 17:20:20 +0100
commit2adb63bfaa4990c13e6a558aec247716f4c8244c (patch)
tree6a48c97af21fd09692b7b4ab8306911f725317af /sys-libs
parentsys-libs/libcxxabi: Restrict tests with USE=-test (diff)
downloadgentoo-2adb63bfaa4990c13e6a558aec247716f4c8244c.tar.gz
gentoo-2adb63bfaa4990c13e6a558aec247716f4c8244c.tar.bz2
gentoo-2adb63bfaa4990c13e6a558aec247716f4c8244c.zip
sys-libs/libcxx: Restrict tests with USE=-test
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libcxx/libcxx-5.0.9999.ebuild1
-rw-r--r--sys-libs/libcxx/libcxx-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys-libs/libcxx/libcxx-5.0.9999.ebuild b/sys-libs/libcxx/libcxx-5.0.9999.ebuild
index fde85c23202..bd31b162301 100644
--- a/sys-libs/libcxx/libcxx-5.0.9999.ebuild
+++ b/sys-libs/libcxx/libcxx-5.0.9999.ebuild
@@ -36,6 +36,7 @@ fi
IUSE="elibc_glibc elibc_musl +libcxxabi libcxxrt +libunwind +static-libs test"
REQUIRED_USE="libunwind? ( || ( libcxxabi libcxxrt ) )
?? ( libcxxabi libcxxrt )"
+RESTRICT="!test? ( test )"
RDEPEND="
libcxxabi? ( ~sys-libs/libcxxabi-${PV}[libunwind=,static-libs?,${MULTILIB_USEDEP}] )
diff --git a/sys-libs/libcxx/libcxx-9999.ebuild b/sys-libs/libcxx/libcxx-9999.ebuild
index 17104067dfd..cbc6f0f2df6 100644
--- a/sys-libs/libcxx/libcxx-9999.ebuild
+++ b/sys-libs/libcxx/libcxx-9999.ebuild
@@ -35,6 +35,7 @@ fi
IUSE="elibc_glibc elibc_musl +libcxxabi libcxxrt +libunwind +static-libs test"
REQUIRED_USE="libunwind? ( || ( libcxxabi libcxxrt ) )
?? ( libcxxabi libcxxrt )"
+RESTRICT="!test? ( test )"
RDEPEND="
libcxxabi? ( ~sys-libs/libcxxabi-${PV}[libunwind=,static-libs?,${MULTILIB_USEDEP}] )