Revert "build: Don't fail build on test_vfio failure"

This reverts commit 014844d0da.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-02-13 17:20:43 +00:00
parent cbc0ac3267
commit 7485a0c1f7
2 changed files with 0 additions and 7 deletions

View File

@ -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"

View File

@ -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();