From 6305e23cd8c8338cecc0a8d8470a143bc1f5925b Mon Sep 17 00:00:00 2001 From: Seth Moore Date: Tue, 27 Jul 2021 14:20:17 -0700 Subject: [PATCH] Allow uninstantiated remote provisioning tests Not all devices have an IRemotelyProvisionedComponent HAL, so on those devices 0 of the tests in VtsRemotelyProvisionedComponentTests will be run. Bug: 194770385 Test: Ran tests on two devices: one with and one without the HAL. Change-Id: I8624096158f29058189dfab7cd876804ae178e60 Merged-In: I8624096158f29058189dfab7cd876804ae178e60 --- .../aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/security/keymint/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp b/security/keymint/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp index af951e8861..38f3586862 100644 --- a/security/keymint/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp +++ b/security/keymint/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp @@ -41,6 +41,7 @@ using ::std::vector; namespace { #define INSTANTIATE_REM_PROV_AIDL_TEST(name) \ + GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(name); \ INSTANTIATE_TEST_SUITE_P( \ PerInstance, name, \ testing::ValuesIn(VtsRemotelyProvisionedComponentTests::build_params()), \