summaryrefslogtreecommitdiff
path: root/security/keymint/aidl/vts/functional/KeyMintTest.cpp
diff options
context:
space:
mode:
authorDavid Drysdale <drysdale@google.com>2022-05-09 05:15:34 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2022-05-09 05:15:34 +0000
commit955b77be576ebe34b97e37dbe940d967a07aa3b3 (patch)
treeef71c70db441e7f5ae25cf4d5e1fbfa54941a778 /security/keymint/aidl/vts/functional/KeyMintTest.cpp
parentdc48405431b431d01a0d8aa8db3f363feb54e9fe (diff)
parent32a7bece10eb1f47cb4473a86df12cabd7910d46 (diff)
Merge "KeyMint VTS: skip device ID checks on GSI" into tm-dev
Diffstat (limited to 'security/keymint/aidl/vts/functional/KeyMintTest.cpp')
-rw-r--r--security/keymint/aidl/vts/functional/KeyMintTest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/keymint/aidl/vts/functional/KeyMintTest.cpp b/security/keymint/aidl/vts/functional/KeyMintTest.cpp
index cbe4512ab3..7950850f91 100644
--- a/security/keymint/aidl/vts/functional/KeyMintTest.cpp
+++ b/security/keymint/aidl/vts/functional/KeyMintTest.cpp
@@ -1949,6 +1949,11 @@ TEST_P(NewKeyGenerationTest, EcdsaAttestationTags) {
* attestation extension.
*/
TEST_P(NewKeyGenerationTest, EcdsaAttestationIdTags) {
+ 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";
+ }
auto challenge = "hello";
auto app_id = "foo";
auto subject = "cert subj 2";