commit | 32a7bece10eb1f47cb4473a86df12cabd7910d46 | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Tue May 03 18:48:57 2022 +0100 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Thu May 05 05:34:59 2022 +0000 |
tree | cb9a18f7324115e4b948037f3a4f83dcbc196fc4 | |
parent | 1dd0d22f3a0b76a12409853a3d6689f8da813a7a [diff] [blame] |
KeyMint VTS: skip device ID checks on GSI Bug: 229356841 Test: VtsAidlKeyMintTargetTest Change-Id: I3182bad5584c35df7b1eeb476dabb39d19fdf12c (cherry picked from commit 555ba00c0f2adb6bed6f507a78e43885e9f46048) Merged-In: I3182bad5584c35df7b1eeb476dabb39d19fdf12c
diff --git a/security/keymint/aidl/vts/functional/AttestKeyTest.cpp b/security/keymint/aidl/vts/functional/AttestKeyTest.cpp index 5cdea93..240de35 100644 --- a/security/keymint/aidl/vts/functional/AttestKeyTest.cpp +++ b/security/keymint/aidl/vts/functional/AttestKeyTest.cpp
@@ -743,6 +743,11 @@ } TEST_P(AttestKeyTest, EcdsaAttestationID) { + if (is_gsi_image()) { + // GSI sets up a standard set of device identifiers that may not match + // the device identifiers held by the device. + GTEST_SKIP() << "Test not applicable under GSI"; + } // Create attestation key. AttestationKey attest_key; vector<KeyCharacteristics> attest_key_characteristics;