On Sat, 05 Aug 2006 17:14:23 +0200
Sven Köhler <[EMAIL PROTECTED]> wrote:

> So my question is:
> where's the difference between USE="test" and FEATURES="test" ?
> 
> So FEATURES="test" means, that portage runs src_test(), right?

Yes.

> So what does USE="test" mean?

USE="test" is a workaround; portage cannot use FEATUREs in dep
strings.  So for example, if the test phase needs a separate tarball of
data (a common enough occurrence) and the ebuild maintainer wants to
download that tarball only if the tests are being run (perhaps the
test data is huge), this can only be done with USE flags.

Basically, if you set FEATURES="test", add "test" also to your USE
flags.  USE="test" should never be used for anything other than
supporting FEATURES="test".

-- 
Kevin F. Quinn

Attachment: signature.asc
Description: PGP signature

Reply via email to