tests: Use cargo nextest for integration tests

This alternative test runner supports retries and also reports how long
each test takes to run.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
Rob Bradford
2025-11-14 15:04:59 +00:00
parent 2707b0f72a
commit 3734a13cbf
7 changed files with 23 additions and 20 deletions
@@ -45,7 +45,7 @@ export RUST_BACKTRACE=1
# Only run with 1 thread to avoid tests interfering with one another because
# Windows has a static IP configured
time cargo test $test_features "windows::$test_filter" -- ${test_binary_args[*]}
time cargo nextest run $test_features "windows::$test_filter" --target "$BUILD_TARGET" -- ${test_binary_args[*]}
RES=$?
dmsetup remove_all -f