diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2023-04-19 13:00:49 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2023-04-19 13:01:39 +0200 |
commit | d6e350dc23e503b8152961542d2d30eca96c6353 (patch) | |
tree | 5d83257b702ecfdee5ba551f78c8e34a1a8503fb /app-emulation | |
parent | dev-python/sphinx_celery: Remove old (diff) | |
download | gentoo-d6e350dc23e503b8152961542d2d30eca96c6353.tar.gz gentoo-d6e350dc23e503b8152961542d2d30eca96c6353.tar.bz2 gentoo-d6e350dc23e503b8152961542d2d30eca96c6353.zip |
app-emulation/cloud-hypervisor: Fix tests
- We're only going to run tests for binary targets as other tests are
not really feasible to run in Portage environment
Closes: https://bugs.gentoo.org/904557
Closes: https://bugs.gentoo.org/904556
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/cloud-hypervisor/cloud-hypervisor-31.0.ebuild | 6 | ||||
-rw-r--r-- | app-emulation/cloud-hypervisor/cloud-hypervisor-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/app-emulation/cloud-hypervisor/cloud-hypervisor-31.0.ebuild b/app-emulation/cloud-hypervisor/cloud-hypervisor-31.0.ebuild index 658d5b70d049..53a3c0bc5635 100644 --- a/app-emulation/cloud-hypervisor/cloud-hypervisor-31.0.ebuild +++ b/app-emulation/cloud-hypervisor/cloud-hypervisor-31.0.ebuild @@ -38,6 +38,12 @@ src_configure() { cargo_src_configure --frozen } +src_test() { + # Intergration tests require root + # https://github.com/cloud-hypervisor/cloud-hypervisor/issues/5388 + cargo_src_test --bins +} + src_install() { cargo_src_install dodoc -r docs diff --git a/app-emulation/cloud-hypervisor/cloud-hypervisor-9999.ebuild b/app-emulation/cloud-hypervisor/cloud-hypervisor-9999.ebuild index 0a16a6d61d60..7dc3cb31d337 100644 --- a/app-emulation/cloud-hypervisor/cloud-hypervisor-9999.ebuild +++ b/app-emulation/cloud-hypervisor/cloud-hypervisor-9999.ebuild @@ -33,6 +33,12 @@ src_configure() { cargo_src_configure --frozen } +src_test() { + # Integration tests require root + # https://github.com/cloud-hypervisor/cloud-hypervisor/issues/5388 + cargo_src_test --bins +} + src_install() { cargo_src_install dodoc -r docs |