commit | 8aee4a857ca912dc8975e8f5e50634dcd342560e | [log] [tgz] |
---|---|---|
author | Seth Moore <sethmo@google.com> | Tue Jul 27 14:20:17 2021 -0700 |
committer | Seth Moore <sethmo@google.com> | Tue Jul 27 14:20:17 2021 -0700 |
tree | e237183824bd10a7eac0337e32b628cd30495425 | |
parent | de4d1e954f0616f84db294202fee140a15103357 [diff] |
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. Fixes: 194770385 Test: Ran tests on two devices: one with and one without the HAL. Change-Id: I8624096158f29058189dfab7cd876804ae178e60
diff --git a/security/keymint/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp b/security/keymint/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp index af951e8..38f3586 100644 --- a/security/keymint/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp +++ b/security/keymint/aidl/vts/functional/VtsRemotelyProvisionedComponentTests.cpp
@@ -41,6 +41,7 @@ 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()), \