From 47b145a0d8522c41d0aa57e46dbb120bab0590bb Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 24 Jul 2023 17:21:28 +0000 Subject: [PATCH] Allow uninstantiated WeaverTest Add back GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST, which I had accidentally removed while merging the AIDL and HIDL tests. I think this is still needed on devices that don't support Weaver at all. Bug: 291284381 Test: atest VtsHalWeaverTargetTest Change-Id: Iac1b4476620e51c645e3ad57444ee386cb879029 --- weaver/vts/VtsHalWeaverTargetTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weaver/vts/VtsHalWeaverTargetTest.cpp b/weaver/vts/VtsHalWeaverTargetTest.cpp index 9ee6d93cf0..754d46710b 100644 --- a/weaver/vts/VtsHalWeaverTargetTest.cpp +++ b/weaver/vts/VtsHalWeaverTargetTest.cpp @@ -393,6 +393,8 @@ TEST_P(WeaverTest, ReadWithTooLargeKeyFails) { EXPECT_EQ(response.status, WeaverReadStatus::FAILED); } +GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(WeaverTest); + // Instantiate the test for each HIDL Weaver service. INSTANTIATE_TEST_SUITE_P( PerHidlInstance, WeaverTest,