Merge "Re-order skip checks for attestation tests"
This commit is contained in:
commit
475bb11af0
1 changed files with 3 additions and 2 deletions
|
@ -172,8 +172,9 @@ class AttestKeyTest : public KeyMintAidlTestBase {
|
||||||
// allowing it to be launched with Android S (or later) with Keymaster 4.0
|
// allowing it to be launched with Android S (or later) with Keymaster 4.0
|
||||||
// in StrongBox
|
// in StrongBox
|
||||||
void check_skip_test(void) const {
|
void check_skip_test(void) const {
|
||||||
if (is_attest_key_feature_disabled() && is_strongbox_enabled() &&
|
// Check the chipset first as that doesn't require a round-trip to Package Manager.
|
||||||
is_chipset_allowed_km4_strongbox()) {
|
if (is_chipset_allowed_km4_strongbox() && is_strongbox_enabled() &&
|
||||||
|
is_attest_key_feature_disabled()) {
|
||||||
GTEST_SKIP() << "Test is not applicable";
|
GTEST_SKIP() << "Test is not applicable";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue