ci: AArch64: Enable basic virtio_vsock test case for AArch64

This commit enables the test case for testing the basic function
of virtio_vsock (i.e. without the hotplug).

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Henry Wang
2020-08-03 08:51:42 +00:00
committed by Rob Bradford
parent 704edd544c
commit a47da51539
3 changed files with 12 additions and 17 deletions

View File

@@ -87,7 +87,7 @@ mod tests {
#[cfg(target_arch = "aarch64")]
const BIONIC_IMAGE_NAME: &str = "bionic-server-cloudimg-arm64";
#[cfg(target_arch = "aarch64")]
const FOCAL_IMAGE_NAME: &str = "focal-server-cloudimg-arm64";
const FOCAL_IMAGE_NAME: &str = "focal-server-cloudimg-arm64-custom";
const DIRECT_KERNEL_BOOT_CMDLINE: &str = "root=/dev/vda1 console=ttyS0 console=hvc0 quiet rw";
@@ -1816,6 +1816,9 @@ mod tests {
guest.check_vsock(socket.as_str());
#[cfg(not(feature = "mmio"))]
// AArch64 currently does not support reboot, and therefore we
// skip the reboot test here.
#[cfg(target_arch = "x86_64")]
{
let reboot_count = guest
.ssh_command("sudo journalctl | grep -c -- \"-- Reboot --\"")
@@ -3565,7 +3568,6 @@ mod tests {
}
#[test]
#[cfg(target_arch = "x86_64")]
fn test_virtio_vsock() {
_test_virtio_vsock(false)
}