Allow uninstantiated BootloaderStateTest

No tests are instantiated if KeyMint is present on the the device.
Explicitly allow that.

Bug: 277975776
Test: VtsAidlKeyMintTargetTest
Change-Id: I88f1c0a81f36d198dabcb1420b62a00bacdbb6e7
This commit is contained in:
Tri Vo
2023-04-13 10:54:42 -07:00
parent fe4b88ab73
commit 78e07d5dff

View File

@@ -79,8 +79,6 @@ TEST_P(BootloaderStateTest, IsUnlocked) {
ASSERT_FALSE(attestedBootloaderState) << "This test runs as root. Bootloader must be unlocked.";
}
INSTANTIATE_TEST_SUITE_P(PerInstance, BootloaderStateTest,
testing::ValuesIn(getAidlHalInstanceNames(IKeyMintDevice::descriptor)),
::android::PrintInstanceNameToString);
INSTANTIATE_KEYMINT_AIDL_TEST(BootloaderStateTest);
} // namespace aidl::android::hardware::security::keymint::test