projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
252cc3a
)
virtualx.eclass: Append RESTRICT="!test? ( test )" by default
author
Michał Górny
<mgorny@gentoo.org>
Wed, 11 Dec 2019 14:57:22 +0000
(15:57 +0100)
committer
Michał Górny
<mgorny@gentoo.org>
Wed, 11 Dec 2019 18:43:38 +0000
(19:43 +0100)
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>
eclass/virtualx.eclass
patch
|
blob
|
history
diff --git
a/eclass/virtualx.eclass
b/eclass/virtualx.eclass
index 40eeea5463bcdaadc1bcf3dfe709a29c9dda56b9..6aba6bf488dd36ab49f89a5ec3235ecff4534eca 100644
(file)
--- 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