commit | 07034763ad421f9bbea9c6020169541570799f60 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Wed Jul 12 12:26:15 2023 +0100 |
committer | Alan Stokes <alanstokes@google.com> | Fri Jul 14 11:25:40 2023 +0100 |
tree | 7872f50c80f436028b98ff24cfabc48dfaf28ba1 | |
parent | 0ae33e94be2b1bdcff351088b7526049a9738695 [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 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.