summaryrefslogtreecommitdiffstats
path: root/authsecret
diff options
context:
space:
mode:
authorDan Shi <dshi@google.com>2020-07-28 13:09:30 -0700
committerDan Shi <dshi@google.com>2020-07-28 15:12:32 -0700
commitba4d532fee4bbadcdcb7aa52edd12232f30e2fa4 (patch)
treee484e52c8906abb021ccc1c1821fc428e678af2a /authsecret
parent3d5e0bb649b26a41e7a2ceb9233606c5db6d79be (diff)
downloadplatform_hardware_interfaces-ba4d532fee4bbadcdcb7aa52edd12232f30e2fa4.tar.gz
platform_hardware_interfaces-ba4d532fee4bbadcdcb7aa52edd12232f30e2fa4.tar.bz2
platform_hardware_interfaces-ba4d532fee4bbadcdcb7aa52edd12232f30e2fa4.zip
Suppress gtest error for tests without any instance
Bug: 162052785 Test: m -j vts Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
Diffstat (limited to 'authsecret')
-rw-r--r--authsecret/1.0/vts/functional/VtsHalAuthSecretV1_0TargetTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/authsecret/1.0/vts/functional/VtsHalAuthSecretV1_0TargetTest.cpp b/authsecret/1.0/vts/functional/VtsHalAuthSecretV1_0TargetTest.cpp
index 0bff9df7dd..687c70cb88 100644
--- a/authsecret/1.0/vts/functional/VtsHalAuthSecretV1_0TargetTest.cpp
+++ b/authsecret/1.0/vts/functional/VtsHalAuthSecretV1_0TargetTest.cpp
@@ -73,6 +73,7 @@ TEST_P(AuthSecretHidlTest, provisionPrimaryUserCredentialAndWrongSecret) {
authsecret->primaryUserCredential(WRONG_SECRET);
}
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(AuthSecretHidlTest);
INSTANTIATE_TEST_SUITE_P(
PerInstance, AuthSecretHidlTest,
testing::ValuesIn(android::hardware::getAllHalInstanceNames(IAuthSecret::descriptor)),