Use Virt Manager for test
Bug: 171278952
Test: atest VirtualizationHostTestCases
Change-Id: Ib603194acb90d4e0952cf276c136efd246d0ce31
diff --git a/tests/hostside/Android.bp b/tests/hostside/Android.bp
index 63b3a3d..f099b9e 100644
--- a/tests/hostside/Android.bp
+++ b/tests/hostside/Android.bp
@@ -31,6 +31,8 @@
":virt_hostside_tests_kernel",
":virt_hostside_tests_initramfs-arm64",
":virt_hostside_tests_initramfs-x86_64",
+ ":vm_config.arm64.json",
+ ":vm_config.x86_64.json",
],
required: [
"virt_hostside_tests_vsock_server",
@@ -52,6 +54,17 @@
cmd: "$(location scripts/place_files.sh) $(in) -- $(out)",
}
+// Copy config files to output directory so that AndroidTest.xml can copy them to the device.
+filegroup {
+ name: "vm_config.arm64.json",
+ srcs: ["vm_config.arm64.json"],
+}
+
+filegroup {
+ name: "vm_config.x86_64.json",
+ srcs: ["vm_config.x86_64.json"],
+}
+
// Ramdisk containing /init and test binaries/resources needed inside guest.
genrule {
name: "virt_hostside_tests_initramfs_base",