mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-01 17:35:19 +00:00
Revert "build: Don't fail build on test_vfio failure"
This reverts commit 014844d0daef115fb9b51ea8bdd9f6f596776653. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
cbc0ac3267
commit
7485a0c1f7
@ -184,12 +184,6 @@ time cargo test --features "integration_tests" "$@" -- --nocapture
|
||||
EOF
|
||||
RES=$?
|
||||
|
||||
# Try the VFIO test but ignore the result
|
||||
newgrp kvm << EOF
|
||||
export RUST_BACKTRACE=1
|
||||
time cargo test --features "integration_tests" test_vfio -- --nocapture --ignored
|
||||
EOF
|
||||
|
||||
if [ $RES -eq 0 ]; then
|
||||
# virtio-mmio based testing
|
||||
cargo build --release --no-default-features --features "mmio"
|
||||
|
@ -3878,7 +3878,6 @@ mod tests {
|
||||
// its cloud-hypervisor host, we should be able to ssh into it, and verify
|
||||
// that it's running with the right kernel command line (We tag the command
|
||||
// line from cloud-hypervisor for that purpose).
|
||||
#[cfg_attr(not(feature = "mmio"), ignore)]
|
||||
fn test_vfio() {
|
||||
test_block!(tb, "", {
|
||||
let mut clear = ClearDiskConfig::new();
|
||||
|
Loading…
x
Reference in New Issue
Block a user