scripts: Fix windows test script for running on MSHV

In order to run Windows test on MSHV we need to build and test using
MSHV feature.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
Muminul Islam 2021-03-08 12:54:38 -08:00 committed by Rob Bradford
parent 5599cbef50
commit 8739f6cccb

View File

@ -9,6 +9,10 @@ process_common_args "$@"
features_build=""
features_test="--features integration_tests"
if [ "$hypervisor" = "mshv" ] ; then
features_build="--no-default-features --features mshv,common"
features_test="--no-default-features --features mshv,common,integration_tests"
fi
WIN_IMAGE_FILE="/root/workloads/windows-server-2019.raw"
OVMF_FW_FILE="/root/workloads/OVMF-4b47d0c6c8.fd"
BUILD_TARGET="$(uname -m)-unknown-linux-${CH_LIBC}"