summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/cloud-hypervisor/cloud-hypervisor-31.0.ebuild6
-rw-r--r--app-emulation/cloud-hypervisor/cloud-hypervisor-9999.ebuild6
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