tests: Add a simple test case for ACPI on AArch64

In the test case, the guest boots from EDK2.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
Michael Zhao 2021-05-27 09:11:00 +08:00 committed by Xin Wang
parent 3cb2b72e92
commit ce5c5833cb
2 changed files with 44 additions and 0 deletions

View file

@ -308,6 +308,11 @@ echo "Integration test on FDT finished with result $RES."
if [ $RES -eq 0 ]; then
# Test with EDK2 + ACPI
cargo build --all --release $features_build_acpi --target $BUILD_TARGET
strip target/$BUILD_TARGET/release/cloud-hypervisor
strip target/$BUILD_TARGET/release/vhost_user_net
strip target/$BUILD_TARGET/release/ch-remote
time cargo test $features_test_acpi "tests::parallel::test_edk2_acpi_launch"
RES=$?
echo "Integration test on UEFI & ACPI finished with result $RES."
fi