mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Preparation of enabling integration tests for AArch64
This commit adds supporting components and code for enabling the AArch64 integration tests, including: 1. A Linux kernel config file to build kernel on AArch64 machines. 2. Refactoring the `run_integration_test.sh` to architecture specific scripts for readability. Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
CLI_NAME="Cloud Hypervisor"
|
||||
|
||||
CTR_IMAGE_TAG="cloudhypervisor/dev"
|
||||
CTR_IMAGE_VERSION="v3"
|
||||
CTR_IMAGE_VERSION="v4"
|
||||
CTR_IMAGE="${CTR_IMAGE_TAG}:${CTR_IMAGE_VERSION}"
|
||||
|
||||
DOCKER_RUNTIME="docker"
|
||||
@@ -320,7 +320,7 @@ cmd_tests() {
|
||||
--env USER="root" \
|
||||
--env CH_LIBC="${libc}" \
|
||||
"$CTR_IMAGE" \
|
||||
./scripts/run_integration_tests.sh "$@" || fix_dir_perms $? || exit $?
|
||||
./scripts/run_integration_tests_$(uname -m).sh "$@" || fix_dir_perms $? || exit $?
|
||||
fi
|
||||
|
||||
fix_dir_perms $?
|
||||
|
||||
Reference in New Issue
Block a user