mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-05 21:15:45 +00:00
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:
parent
cbc0ac3267
commit
7485a0c1f7
@ -184,12 +184,6 @@ time cargo test --features "integration_tests" "$@" -- --nocapture
|
|||||||
EOF
|
EOF
|
||||||
RES=$?
|
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
|
if [ $RES -eq 0 ]; then
|
||||||
# virtio-mmio based testing
|
# virtio-mmio based testing
|
||||||
cargo build --release --no-default-features --features "mmio"
|
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
|
// 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
|
// that it's running with the right kernel command line (We tag the command
|
||||||
// line from cloud-hypervisor for that purpose).
|
// line from cloud-hypervisor for that purpose).
|
||||||
#[cfg_attr(not(feature = "mmio"), ignore)]
|
|
||||||
fn test_vfio() {
|
fn test_vfio() {
|
||||||
test_block!(tb, "", {
|
test_block!(tb, "", {
|
||||||
let mut clear = ClearDiskConfig::new();
|
let mut clear = ClearDiskConfig::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user