mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
committed by
Rob Bradford
parent
7d582ec0f6
commit
4ba2d770d1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user