summaryrefslogtreecommitdiffstats
path: root/boot
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 /boot
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 'boot')
-rw-r--r--boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp1
-rw-r--r--boot/1.1/vts/functional/VtsHalBootV1_1TargetTest.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp b/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp
index 2f6b23ee5c..e4ad1b9bda 100644
--- a/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp
+++ b/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp
@@ -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)),
diff --git a/boot/1.1/vts/functional/VtsHalBootV1_1TargetTest.cpp b/boot/1.1/vts/functional/VtsHalBootV1_1TargetTest.cpp
index 30b965ddbb..c38f25793f 100644
--- a/boot/1.1/vts/functional/VtsHalBootV1_1TargetTest.cpp
+++ b/boot/1.1/vts/functional/VtsHalBootV1_1TargetTest.cpp
@@ -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)),