From 88a86ef3048e6664a7ed8987da4602f3714968b1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 9 May 2007 22:49:47 +0000 Subject: Make sure USE=test is properly enabled when the test phase is forced via the ebuild command. Thanks to Caster for reporting. svn path=/main/trunk/; revision=6508 --- pym/portage/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym') diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index ac3b79bc2..c76263899 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -1987,6 +1987,8 @@ class config: # FEATURES=test should imply USE=test if "test" in self.configlist[-1].get("FEATURES","").split(): myflags.add("test") + if self.get("EBUILD_FORCE_TEST") == "1": + self.usemask.discard("test") usesplit = [ x for x in myflags if \ x not in self.usemask] -- cgit v1.2.3-1-g7c22