mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-02 17:34:18 +00:00
test/k8s: Extend initdata tests to run on s390x
Enable testing of initdata on the qemu-coco-dev and qemu-se runtime classes, so we can validate the function on s390x Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
committed by
rafsalrahim
parent
4cc373c06e
commit
8ee80b4c37
@@ -45,13 +45,16 @@ function setup_kbs_image_policy_for_initdata() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
export CURRENT_ARCH=$(uname -m)
|
export CURRENT_ARCH=$(uname -m)
|
||||||
if [ "${CURRENT_ARCH}" != "x86_64" ]; then
|
case "${CURRENT_ARCH}" in
|
||||||
skip "Test skipped as only x86-64 supports, while current platform is ${CURRENT_ARCH}"
|
"x86_64"|"s390x")
|
||||||
fi
|
;;
|
||||||
|
*)
|
||||||
|
skip "Test skipped as only x86-64 & s390x is supported, while current platform is ${CURRENT_ARCH}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# TODO: Enable for more archs
|
|
||||||
case "$KATA_HYPERVISOR" in
|
case "$KATA_HYPERVISOR" in
|
||||||
"qemu-tdx"|"qemu-coco-dev"|"qemu-snp")
|
"qemu-tdx"|"qemu-coco-dev"|"qemu-snp"|"qemu-se")
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
skip "Test not supported for ${KATA_HYPERVISOR}."
|
skip "Test not supported for ${KATA_HYPERVISOR}."
|
||||||
|
Reference in New Issue
Block a user