Gentoo Archives: gentoo-dev

From: Kristian Fiskerstrand <k_f@g.o>
To: gentoo-dev@l.g.o, "Juippisi ." <juippis@×××××.com>
Subject: Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test
Date: Tue, 21 Aug 2018 20:19:01
Message-Id: 47121f41-bff3-0f1a-5fe2-39077fa8e103@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test by "Juippisi ."
1 On 08/21/2018 10:06 PM, Juippisi . wrote:
2 > On Tue, Aug 21, 2018 at 3:57 PM, Davide Pesavento <pesa@g.o> wrote:
3 >
4 >>
5 >> Wait, are you saying that I can set USE=-test while FEATURES=test is
6 >> enabled? Is that a valid combination?
7 >>
8 >
9 > It's really annoying if you try to make some conditional stuff apply using
10 > "if use test;" because it doesn't work with FEATURES="test".
11 >
12
13 if it doesn't work with FEATURES="test" but is othervise verified it
14 might be a case for a RESTRICT=test instead?
15
16 That said, you'll find RESTRICT="!test? ( test )" in plenty of ebuilds,
17 disabling the test phase if the use flag is unset altogether.
18
19 --
20 Kristian Fiskerstrand
21 OpenPGP keyblock reachable at hkp://pool.sks-keyservers.net
22 fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3

Attachments

File name MIME type
signature.asc application/pgp-signature