scripts: Build dual kvm/mshv binary (like release.yaml) for integration testing

This means we are testing the same binary as we use in our releases.

Fixes: #4915

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2022-11-24 14:42:07 +00:00
parent d83fc7f663
commit c95b82d975
7 changed files with 7 additions and 7 deletions

View File

@@ -77,7 +77,7 @@ if [[ "${BUILD_TARGET}" == "x86_64-unknown-linux-musl" ]]; then
CFLAGS="-I /usr/include/x86_64-linux-musl/ -idirafter /usr/include/"
fi
cargo build --all --release --target $BUILD_TARGET
cargo build --no-default-features --features "kvm,mshv" --all --release --target $BUILD_TARGET
export RUST_BACKTRACE=1
time cargo test $test_features "rate_limiter::$test_filter" -- --test-threads=1 ${test_binary_args[*]}