diff options
author | Dan Shi <dshi@google.com> | 2020-07-28 13:09:30 -0700 |
---|---|---|
committer | Dan Shi <dshi@google.com> | 2020-07-28 15:12:32 -0700 |
commit | ba4d532fee4bbadcdcb7aa52edd12232f30e2fa4 (patch) | |
tree | e484e52c8906abb021ccc1c1821fc428e678af2a /power/stats/1.0/vts | |
parent | 3d5e0bb649b26a41e7a2ceb9233606c5db6d79be (diff) | |
download | platform_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 'power/stats/1.0/vts')
-rw-r--r-- | power/stats/1.0/vts/functional/VtsHalPowerStatsV1_0TargetTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/power/stats/1.0/vts/functional/VtsHalPowerStatsV1_0TargetTest.cpp b/power/stats/1.0/vts/functional/VtsHalPowerStatsV1_0TargetTest.cpp index 3359669810..c7d8091e57 100644 --- a/power/stats/1.0/vts/functional/VtsHalPowerStatsV1_0TargetTest.cpp +++ b/power/stats/1.0/vts/functional/VtsHalPowerStatsV1_0TargetTest.cpp @@ -556,6 +556,7 @@ TEST_P(PowerStatsHidlTest, StreamEnergyData) { thread1.join(); } +GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(PowerStatsHidlTest); INSTANTIATE_TEST_SUITE_P( PerInstance, PowerStatsHidlTest, testing::ValuesIn(android::hardware::getAllHalInstanceNames(IPowerStats::descriptor)), |