scripts: check hypervisor before running the test

Add two more checks if the hypervisor value is correct.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
Muminul Islam
2021-09-23 14:50:26 -07:00
committed by Rob Bradford
parent 1511cbda87
commit ca4857b5e6
3 changed files with 14 additions and 7 deletions

View File

@@ -5,6 +5,12 @@ source $HOME/.cargo/env
source $(dirname "$0")/test-util.sh
process_common_args "$@"
if [[ "$hypervisor" = "mshv" ]]; then
echo "Unsupported SGX test for MSHV"
exit 1
fi
# For now these values are deafult for kvm
features_build=""
features_test="--features integration_tests"