On Wed, Dec 11, 2019 at 03:58:33PM +0100, 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 > > -- > 2.24.1 > >
Acked-by: Aaron Bauman <b...@gentoo.org> -- Cheers, Aaron
signature.asc
Description: PGP signature