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

Commit 475bb11a authored by David Drysdale's avatar David Drysdale Committed by Gerrit Code Review
Browse files

Merge "Re-order skip checks for attestation tests"

parents ac46ddb9 5b948746
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -172,8 +172,9 @@ class AttestKeyTest : public KeyMintAidlTestBase {
    //     allowing it to be launched with Android S (or later) with Keymaster 4.0
    //     in StrongBox
    void check_skip_test(void) const {
        if (is_attest_key_feature_disabled() && is_strongbox_enabled() &&
            is_chipset_allowed_km4_strongbox()) {
        // Check the chipset first as that doesn't require a round-trip to Package Manager.
        if (is_chipset_allowed_km4_strongbox() && is_strongbox_enabled() &&
            is_attest_key_feature_disabled()) {
            GTEST_SKIP() << "Test is not applicable";
        }
    }