commit | fc672ddf0da612b2f047c3ef04524be484f8d159 | [log] [tgz] |
---|---|---|
author | Inseob Kim <inseob@google.com> | Wed May 11 10:15:05 2022 +0900 |
committer | Inseob Kim <inseob@google.com> | Wed May 11 10:15:05 2022 +0900 |
tree | d32a53c10584cfad9724f050e8ada9fd130fb0f9 | |
parent | f72f28f96514598e4964fe5bccdad052bb199110 [diff] |
Run custom vm test only when pvm is supported Bug: 232075565 Test: atest MicrodroidHostTestCases Change-Id: I84342b4a4a34270300f33037f9255defc6bb810a
diff --git a/tests/hostside/java/android/virt/test/MicrodroidTestCase.java b/tests/hostside/java/android/virt/test/MicrodroidTestCase.java index 9ee95c0..e2d4be1 100644 --- a/tests/hostside/java/android/virt/test/MicrodroidTestCase.java +++ b/tests/hostside/java/android/virt/test/MicrodroidTestCase.java
@@ -478,6 +478,7 @@ @Test public void testCustomVirtualMachinePermission() throws DeviceNotAvailableException, IOException, JSONException { + assumeTrue(isProtectedVmSupported()); CommandRunner android = new CommandRunner(getDevice()); // Pull etc/microdroid.json