diff --git a/scripts/run_unit_tests.sh b/scripts/run_unit_tests.sh index 79a9ef899..972006703 100755 --- a/scripts/run_unit_tests.sh +++ b/scripts/run_unit_tests.sh @@ -13,4 +13,4 @@ if [[ $(uname -m) = "aarch64" || $hypervisor = "mshv" ]]; then cargo_args+=("--features $hypervisor") fi export RUST_BACKTRACE=1 -cargo test --target $BUILD_TARGET --workspace ${cargo_args[@]} || exit 1; +cargo test --lib --bins --target $BUILD_TARGET --workspace ${cargo_args[@]} || exit 1;