From: Marius Mauch Date: Thu, 11 Jan 2007 09:09:34 +0000 (-0000) Subject: Make FEATURES=test imply USE=test X-Git-Tag: v2.1.2~80 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7d65969dbcaf7f4902e12d446009f67c8fb757e5;p=portage.git Make FEATURES=test imply USE=test svn path=/main/trunk/; revision=5551 --- diff --git a/pym/portage.py b/pym/portage.py index 0f6f18376..b0505fba9 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1886,6 +1886,11 @@ class config: usesplit = [ x for x in myflags if \ x not in self.usemask] + + # FEATURES=test should imply USE=test + if "test" in self.configlist[-1]["FEATURES"] and not "test" in usesplit: + usesplit.append("test") + usesplit.sort() # Use the calculated USE flags to regenerate the USE_EXPAND flags so