Gentoo Archives: gentoo-dev

From: "Kevin F. Quinn" <kevquinn@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Make FEATURES=test the default
Date: Sat, 05 Aug 2006 15:38:42
Message-Id: 20060805173532.5d663c32@c1358217.kevquinn.com
In Reply to: [gentoo-dev] Re: Make FEATURES=test the default by "Sven Köhler"
1 On Sat, 05 Aug 2006 17:14:23 +0200
2 Sven Köhler <skoehler@×××.de> wrote:
3
4 > So my question is:
5 > where's the difference between USE="test" and FEATURES="test" ?
6 >
7 > So FEATURES="test" means, that portage runs src_test(), right?
8
9 Yes.
10
11 > So what does USE="test" mean?
12
13 USE="test" is a workaround; portage cannot use FEATUREs in dep
14 strings. So for example, if the test phase needs a separate tarball of
15 data (a common enough occurrence) and the ebuild maintainer wants to
16 download that tarball only if the tests are being run (perhaps the
17 test data is huge), this can only be done with USE flags.
18
19 Basically, if you set FEATURES="test", add "test" also to your USE
20 flags. USE="test" should never be used for anything other than
21 supporting FEATURES="test".
22
23 --
24 Kevin F. Quinn

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] Re: Make FEATURES=test the default Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>