tests: add ivshmem integration test case

Signed-off-by: Songqian Li <sionli@tencent.com>
This commit is contained in:
Songqian Li
2025-06-17 15:26:28 +08:00
committed by Bo Chen
parent a09c8329fb
commit 4c1ee0329e
4 changed files with 408 additions and 3 deletions

View File

@@ -258,4 +258,11 @@ if [ $RES -eq 0 ]; then
RES=$?
fi
if [ $RES -eq 0 ]; then
cargo build --features ivshmem --all --release --target "$BUILD_TARGET"
export RUST_BACKTRACE=1
time cargo test "ivshmem::$test_filter" --target "$BUILD_TARGET" -- ${test_binary_args[*]}
RES=$?
fi
exit $RES

View File

@@ -206,4 +206,11 @@ if [ $RES -eq 0 ]; then
RES=$?
fi
if [ $RES -eq 0 ]; then
cargo build --features ivshmem --all --release --target "$BUILD_TARGET"
export RUST_BACKTRACE=1
time cargo test $test_features "ivshmem::$test_filter" --target "$BUILD_TARGET" -- ${test_binary_args[*]}
RES=$?
fi
exit $RES