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

Commit 34e9edde authored by Alice Wang's avatar Alice Wang
Browse files

Run KeyMint VM test only when the feature is enabled

Bug: 394409476
Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I444129fd5098645308b46d2d1207daa512489d4f
parent 1be0855a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -405,7 +405,7 @@ TEST(NonParameterizedTests, unlockedBootloaderStatesImpliesNonNormalRkpVmDiceCha
 * is non-normal.
 */
TEST(NonParameterizedTests, unlockedBootloaderStatesImpliesNonNormalKeyMintInAVmDiceChain) {
    if (::android::base::GetBoolProperty("trusty.security_vm.keymint.enabled", false)) {
    if (!::android::base::GetBoolProperty("trusty.security_vm.keymint.enabled", false)) {
        GTEST_SKIP() << "The KeyMint (" << DEFAULT_INSTANCE_NAME
                     << ") instance is not inside a VM.";
    }