Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78e07d5d authored by Tri Vo's avatar Tri Vo
Browse files

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
parent fe4b88ab
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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