Merge pull request #255123 from alyssais/cloud-hypervisor-tests

cloud-hypervisor: run more tests
This commit is contained in:
Fabián Heredia Montiel 2023-09-14 12:35:48 -06:00 committed by GitHub
commit 4fdb5e275d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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