Gentoo Archives: gentoo-dev

From: Jeroen Roovers <jer@g.o>
To: Kent Fredric <kentnl@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test
Date: Sat, 25 Aug 2018 11:48:51
Message-Id: 20180825134840.05228e50@wim.jer
In Reply to: Re: [gentoo-dev] [PATCH] use.desc: Improve description of USE=test by Kent Fredric
1 Hi Kent,
2
3
4 On Sat, 25 Aug 2018 01:23:06 +1200
5 Kent Fredric <kentnl@g.o> wrote:
6
7 > On Tue, 21 Aug 2018 22:29:29 -0400
8 > Mike Gilbert <floppym@g.o> wrote:
9 >
10 > > Setting RESTRICT="!test? ( test )" is generally sufficient.
11 >
12 > But that would require setting that virtually *everything* that has
13 > both tests, and required dependencies for tests.
14
15 Oh, 2012 just called.
16
17 > Which, in my experience, is practically everything with tests.
18 >
19 > To the point it seems like that should be the *default* mechanic, not
20 > a requirement that everyone pay not to have a randomly broken package.
21
22 "
23 [S]etting FEATUTES=-test USE=-test means rebuilding a lot of the
24 installed packages. Instead, since USE=test is special already (it
25 should only affect what happens in src_test(), right?) we might as
26 well disable the test phase, tell the user in einfo, and be done with
27 it. We could even write that to vdb so that on the next run, the
28 package is re-emerged but with src_test() getting run properly this
29 time.
30 "
31
32 https://bugs.gentoo.org/show_bug.cgi?id=417675
33
34
35 Kind regards,
36 jer