summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-21 05:05:50 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-21 05:05:50 +0000
commit992479a21a1a8d5a2e8a93646c133d71a719dab6 (patch)
treea50a3a34000e62b58039ffb08aaded994cfa22a9
parentcd059b0c37fb7b1d48530a4a8babb09867aced24 (diff)
downloadportage-992479a21a1a8d5a2e8a93646c133d71a719dab6.tar.gz
portage-992479a21a1a8d5a2e8a93646c133d71a719dab6.tar.bz2
portage-992479a21a1a8d5a2e8a93646c133d71a719dab6.zip
Make the "test" flag that's enabled by FEATURES=test into
an implicit iuse member. svn path=/main/trunk/; revision=9025
-rw-r--r--pym/portage/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 28e98d6d3..54c22326f 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -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: