script: Modify unit tests to support mshv

Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
Muminul Islam 2021-01-11 16:05:02 -08:00 committed by Rob Bradford
parent a194dad98c
commit 9cdcbb5121
2 changed files with 5 additions and 3 deletions

View file

@ -355,7 +355,7 @@ cmd_tests() {
cflags="-I /usr/include/x86_64-linux-musl/ -idirafter /usr/include/"
fi
if [[ "$unit" = true && $hypervisor = "kvm" ]] ; then
if [[ "$unit" = true ]] ; then
say "Running unit tests for $target..."
$DOCKER_RUNTIME run \
--workdir "$CTR_CLH_ROOT_DIR" \