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

svn path=/main/branches/2.1.2/; revision=9026

pym/portage.py

index 13ba9324c84da337dffb619c18ea4fa1b360281e..14e763147af728841072768cac49995b152eccf8 100644 (file)
@@ -2377,6 +2377,7 @@ class config:
                #  * 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.
@@ -2405,6 +2406,7 @@ class config:
                # 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: