scripts: Remove common feature flag for mshv tests

Commit b2d1dd65f3 ("build: Remove "fwdebug" and "common" feature
flags") removed support for common features flag. But some of the
scripts are still using that parameter specifically test related to mshv
hypervisor. Thus fix those scripts by removing common feature flag.

Signed-off-by: Smit Gardhariya <sgardhariya@microsoft.com>
This commit is contained in:
Smit Gardhariya 2022-09-28 11:41:01 +05:30 committed by Liu Wei
parent f0c55f5245
commit 45fa8be97a
6 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ process_common_args "$@"
features=""
if [ "$hypervisor" = "mshv" ] ; then
features="--no-default-features --features mshv,common"
features="--no-default-features --features mshv"
fi
cp scripts/sha1sums-x86_64 $WORKLOADS_DIR

View File

@ -15,7 +15,7 @@ process_common_args "$@"
features=""
if [ "$hypervisor" = "mshv" ] ; then
features="--no-default-features --features mshv,common"
features="--no-default-features --features mshv"
fi
cp scripts/sha1sums-x86_64 $WORKLOADS_DIR

View File

@ -9,7 +9,7 @@ process_common_args "$@"
features=""
if [ "$hypervisor" = "mshv" ] ; then
features="--no-default-features --features mshv,common"
features="--no-default-features --features mshv"
fi
WIN_IMAGE_FILE="/root/workloads/windows-server-2019.raw"

View File

@ -15,7 +15,7 @@ process_common_args "$@"
features=""
if [ "$hypervisor" = "mshv" ] ; then
features="--no-default-features --features mshv,common"
features="--no-default-features --features mshv"
fi
cp scripts/sha1sums-x86_64 $WORKLOADS_DIR

View File

@ -32,7 +32,7 @@ process_common_args "$@"
features=""
if [ "$hypervisor" = "mshv" ]; then
features="--no-default-features --features mshv,common"
features="--no-default-features --features mshv"
fi
cp scripts/sha1sums-${TEST_ARCH} $WORKLOADS_DIR

View File

@ -10,7 +10,7 @@ cargo_args=("")
if [[ $hypervisor = "mshv" ]]; then
cargo_args+=("--no-default-features")
cargo_args+=("--features common,$hypervisor")
cargo_args+=("--features $hypervisor")
elif [[ $(uname -m) = "x86_64" ]]; then
cargo_args+=("--features tdx")
fi