summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py5
1 files changed, 5 insertions, 0 deletions
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