mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
sys-apps/sed: wire up USE=test-full
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
996847ecc2
commit
649663f64e
@ -5,6 +5,9 @@
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="test-full">Run expensive tests (mostly CPU intensive).</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="savannah">sed</remote-id>
|
||||
<remote-id type="cpe">cpe:/a:gnu:sed</remote-id>
|
||||
|
||||
@ -14,7 +14,7 @@ SRC_URI+=" verify-sig? ( mirror://gnu/sed/${P}.tar.xz.sig )"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos"
|
||||
IUSE="acl nls selinux static"
|
||||
IUSE="acl nls selinux static test-full"
|
||||
|
||||
RDEPEND="
|
||||
!static? (
|
||||
@ -58,6 +58,8 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x RUN_{VERY_,}EXPENSIVE_TESTS=$(usex test-full yes no)
|
||||
|
||||
# We don't want to automagically use Valgrind for tests.
|
||||
sed -i -e 's:valgrind --error-exitcode=1:false:' init.cfg || die
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user