From fa949678d1c82362e23da3d8959cfa0ab26e6f64 Mon Sep 17 00:00:00 2001 From: Anirudh Rayabharam Date: Mon, 6 Apr 2026 14:21:58 +0000 Subject: [PATCH] scripts: build mshv feature too for dbus, fw_cfg & ivshmem tests The aarch64 dbus, fw_cfg & ivshmem tests don't build the mshv feature causing them to fail when run on MSHV. Fix by building the mshv feature too just like the x86 version of the script does. Signed-off-by: Anirudh Rayabharam --- scripts/run_integration_tests_aarch64.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/run_integration_tests_aarch64.sh b/scripts/run_integration_tests_aarch64.sh index b4c3482d0..9dac761e9 100755 --- a/scripts/run_integration_tests_aarch64.sh +++ b/scripts/run_integration_tests_aarch64.sh @@ -285,7 +285,7 @@ fi # Run tests on dbus_api if [ $RES -eq 0 ]; then - cargo build --features "dbus_api" --all --release --target "$BUILD_TARGET" + cargo build --features "mshv,dbus_api" --all --release --target "$BUILD_TARGET" export RUST_BACKTRACE=1 # integration tests now do not reply on build feature "dbus_api" time cargo nextest run $test_features --retries 3 --no-fail-fast --no-tests=pass --test-threads=$(($(nproc) / 4)) "dbus_api::$test_filter" -- ${test_binary_args[*]} @@ -294,14 +294,14 @@ fi # Run tests on fw_cfg if [ $RES -eq 0 ]; then - cargo build --features "fw_cfg" --all --release --target "$BUILD_TARGET" + cargo build --features "mshv,fw_cfg" --all --release --target "$BUILD_TARGET" export RUST_BACKTRACE=1 time cargo nextest run $test_features --retries 3 --no-fail-fast --no-tests=pass --test-threads=$(($(nproc) / 4)) "fw_cfg::$test_filter" -- ${test_binary_args[*]} RES=$? fi if [ $RES -eq 0 ]; then - cargo build --features "ivshmem" --all --release --target "$BUILD_TARGET" + cargo build --features "mshv,ivshmem" --all --release --target "$BUILD_TARGET" export RUST_BACKTRACE=1 time cargo nextest run $test_features --retries 3 --no-fail-fast --no-tests=pass --test-threads=$(($(nproc) / 4)) "ivshmem::$test_filter" -- ${test_binary_args[*]}