Make the "test" flag that's enabled by FEATURES=test into
authorZac Medico <zmedico@gentoo.org>
Fri, 21 Dec 2007 05:05:50 +0000 (05:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 21 Dec 2007 05:05:50 +0000 (05:05 -0000)
an implicit iuse member.

svn path=/main/trunk/; revision=9025

pym/portage/__init__.py

index 28e98d6d35b6dd51423aa8bf0199ec4649eb1b76..54c22326fd79e7c29c6ccd8456416cc5f89b9d84 100644 (file)
@@ -2396,6 +2396,7 @@ class config(object):
                #  * Masked flags, such as those from {,package}use.mask
                #  * Forced flags, such as those from {,package}use.force
                #  * build and bootstrap flags used by bootstrap.sh
+               #  * The "test" flag that's enabled by FEATURES=test
 
                # Do this even when there's no package since setcpv() can
                # optimize away regenerate() calls.
@@ -2424,6 +2425,7 @@ class config(object):
                # build and bootstrap flags used by bootstrap.sh
                iuse_implicit.add("build")
                iuse_implicit.add("bootstrap")
+               iuse_implicit.add("test")
 
                iuse_grep = iuse_implicit.copy()
                if use_expand_hidden_raw: