summaryrefslogtreecommitdiffstats
path: root/weaver
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 /weaver
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 'weaver')
-rw-r--r--weaver/1.0/vts/functional/VtsHalWeaverV1_0TargetTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/weaver/1.0/vts/functional/VtsHalWeaverV1_0TargetTest.cpp b/weaver/1.0/vts/functional/VtsHalWeaverV1_0TargetTest.cpp
index ae92c362be..66465a9798 100644
--- a/weaver/1.0/vts/functional/VtsHalWeaverV1_0TargetTest.cpp
+++ b/weaver/1.0/vts/functional/VtsHalWeaverV1_0TargetTest.cpp
@@ -336,6 +336,7 @@ TEST_P(WeaverHidlTest, ReadWithTooLargeKeyFails) {
EXPECT_EQ(timeout, 0u);
}
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(WeaverHidlTest);
INSTANTIATE_TEST_SUITE_P(
PerInstance, WeaverHidlTest,
testing::ValuesIn(android::hardware::getAllHalInstanceNames(IWeaver::descriptor)),