Suppress gtest error for tests without any instance

Bug: 162052785
Test: m -j vts
Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
This commit is contained in:
Dan Shi
2020-07-28 13:09:30 -07:00
parent 3d5e0bb649
commit ba4d532fee
90 changed files with 112 additions and 1 deletions

View File

@@ -473,6 +473,7 @@ TEST(ConfirmationUITestSelfTest, HMAC256SelfTest) {
ASSERT_EQ(expected, result.value());
}
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(ConfirmationUIHidlTest);
INSTANTIATE_TEST_SUITE_P(
PerInstance, ConfirmationUIHidlTest,
testing::ValuesIn(android::hardware::getAllHalInstanceNames(IConfirmationUI::descriptor)),