sys-libs/libomp: Restrict tests with USE=-test
authorMichał Górny <mgorny@gentoo.org>
Fri, 15 Dec 2017 16:03:21 +0000 (17:03 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 15 Dec 2017 16:20:21 +0000 (17:20 +0100)
sys-libs/libomp/libomp-5.0.9999.ebuild
sys-libs/libomp/libomp-9999.ebuild

index dbbe22181596d083f58beabb1faf76b9e9d8b936..fc51f5600aa2d004edfc9fdd344059037f729c0c 100644 (file)
@@ -25,6 +25,7 @@ LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
 SLOT="0"
 KEYWORDS=""
 IUSE="hwloc ompt test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )"
 # tests:
index d62e8ac7000c2599bcf368d4a1f73d503d232508..3a3f7466c5915f88a1a4ff16cdef1e4b77bf42a6 100644 (file)
@@ -24,6 +24,7 @@ LICENSE="|| ( UoI-NCSA MIT ) MIT LLVM-Grant"
 SLOT="0"
 KEYWORDS=""
 IUSE="hwloc ompt test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )"
 # tests: