mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Suppress gtest error for tests without any instance
Bug: 162052785 Test: m -j vts Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
This commit is contained in:
@@ -191,6 +191,7 @@ TEST_P(BootHidlTest, GetSuffix) {
|
||||
}
|
||||
}
|
||||
|
||||
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(BootHidlTest);
|
||||
INSTANTIATE_TEST_SUITE_P(
|
||||
PerInstance, BootHidlTest,
|
||||
testing::ValuesIn(android::hardware::getAllHalInstanceNames(IBootControl::descriptor)),
|
||||
|
||||
@@ -84,6 +84,7 @@ TEST_P(BootHidlTest, SetSnapshotMergeStatus) {
|
||||
}
|
||||
}
|
||||
|
||||
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(BootHidlTest);
|
||||
INSTANTIATE_TEST_SUITE_P(
|
||||
PerInstance, BootHidlTest,
|
||||
testing::ValuesIn(android::hardware::getAllHalInstanceNames(IBootControl::descriptor)),
|
||||
|
||||
Reference in New Issue
Block a user