From a66d68c5476a9aeb8a74442e11d004ce48a7c625 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 11 Dec 2019 15:57:22 +0100 Subject: virtualx.eclass: Append RESTRICT="!test? ( test )" by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- eclass/virtualx.eclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'eclass') 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 -- cgit v1.2.3-65-gdbad