On Thu, Dec 12, 2019 at 12:02 PM NP-Hardass <np-hard...@gentoo.org> wrote: > > On 12/11/19 9:58 AM, Michał Górny wrote: > > Append RESTRICT="!test? ( test )" in the default case when virtualx > > is conditional to USE=test. This fixes 440 MissingTestRestrict > > warnings. > > > > Signed-off-by: Michał Górny <mgo...@gentoo.org> > > --- > > eclass/virtualx.eclass | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass > > index 40eeea5463bc..6aba6bf488dd 100644 > > --- a/eclass/virtualx.eclass > > +++ b/eclass/virtualx.eclass > > @@ -89,6 +89,8 @@ case ${VIRTUALX_REQUIRED} in > > fi > > RDEPEND="" > > IUSE="${VIRTUALX_REQUIRED}" > > + [[ ${VIRTUALX_REQUIRED} == test ]] && > > + RESTRICT+=" !test? ( test )" > > ;; > > esac > > > > > > Is there a better way to address this than editing a ton of eclasses > independently?
Not really.