app-metrics/scaphandre: restrict test

some tests rely on the assumption that /proc/modules is present.

Closes: https://bugs.gentoo.org/836916
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
This commit is contained in:
Mathieu Tortuyaux
2022-04-06 17:46:10 +02:00
parent 2a662ec494
commit d6e3b57ace

View File

@@ -206,7 +206,8 @@ DESCRIPTION="Electrical power consumption measurement agent."
# does not provide this value so instead repository is used
HOMEPAGE="https://github.com/hubblo-org/scaphandre"
SRC_URI="https://github.com/hubblo-org/${PN}/archive/refs/tags/v${PV}.zip -> ${P}.zip $(cargo_crate_uris ${CRATES})"
RESTRICT="mirror"
# restricting test because '/proc/modules' does not appear to be present in the CI
RESTRICT="mirror test"
# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
LICENSE="Apache-2.0 Apache-2.0 ISC MIT MPL-2.0 Unlicense"