cloud-hypervisor: run more tests

This commit is contained in:
Alyssa Ross 2023-09-14 14:13:30 +00:00
parent ae96e79571
commit 4afa887b8a
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -34,8 +34,11 @@ rustPlatform.buildRustPackage rec {
OPENSSL_NO_VENDOR = true;
# Integration tests require root.
cargoTestFlags = [ "--bins" ];
cargoTestFlags = [
"--workspace"
"--bins" "--lib" # Integration tests require root.
"--exclude" "net_util" # Tries to access /dev/net/tun
];
meta = with lib; {
homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor";