scripts: update CVM test script to add thread

- Modified the integration test script to support CVM test threads
- Add more parameters to cargo nextest to match other files

Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
Muminul Islam
2026-03-12 19:34:54 -07:00
committed by Rob Bradford
parent 7d582ec0f6
commit 4ba2d770d1

View File

@@ -27,7 +27,7 @@ popd || exit
cargo build --features $build_features --all --release --target "$BUILD_TARGET"
export RUST_BACKTRACE=1
cargo nextest run $test_features "common_cvm::$test_filter" -- ${test_binary_args[*]}
time cargo nextest run $test_features --retries 3 --no-fail-fast --no-tests=pass --test-threads=$(($(nproc) / 4)) "common_cvm::$test_filter" -- ${test_binary_args[*]}
RES=$?
exit $RES