mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
virtualx.eclass: Append RESTRICT="!test? ( test )" by default
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 <mgorny@gentoo.org>
This commit is contained in:
@@ -89,6 +89,8 @@ case ${VIRTUALX_REQUIRED} in
|
||||
fi
|
||||
RDEPEND=""
|
||||
IUSE="${VIRTUALX_REQUIRED}"
|
||||
[[ ${VIRTUALX_REQUIRED} == test ]] &&
|
||||
RESTRICT+=" !test? ( test )"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user