commit | 5d0223c1448bcc0e9543025bf3fc10d177c9a742 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Wed Jul 12 12:26:15 2023 +0100 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue Aug 08 12:22:49 2023 +0000 |
tree | 7f6b5050c51e07a814a3bf71b7e3e9e391e69b7f | |
parent | 2e22a8880c273edb183c0e8c0b841290ba97bde1 [diff] |
Don't run non-protected tests if not supported We have various tests that use a non-protected VM. However, support for those is not mandatory, and currently they fail on systems which only support protected VMs. This CL just prevents those tests from running if non-protected VMs are not supported. This prevents spurous failures. A better approach would be to run the tests on protected VMs instead; that's in a follow-up CL. To test this I modified ITestDevice to report no support for non-protected VMs, and also modified VirtualizationManager to fail a request for one. That allowed me to reproduce the failures and verify that this gets rid of them. Bug: 290727698 Test: atest MicrodroidHostTestCases (cherry picked from https://android-review.googlesource.com/q/commit:07034763ad421f9bbea9c6020169541570799f60) Merged-In: If748cf16f1ebcd8fec66595d3f172eca37d1648e Change-Id: If748cf16f1ebcd8fec66595d3f172eca37d1648e
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.