From 14fdd67a30e52676a384e1a9726a76056952c47e Mon Sep 17 00:00:00 2001 From: Shawn Willden Date: Thu, 1 Apr 2021 17:06:06 -0600 Subject: [PATCH] Allow SecureClock tests to pass on devices w/out SecureClock Bug: 182289099 Test: VtsAidlSecureClockTargetTest Change-Id: I830fe2879cd3328adf950060afb7e9eb18e558b7 --- .../secureclock/aidl/vts/functional/SecureClockAidlTest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/security/secureclock/aidl/vts/functional/SecureClockAidlTest.cpp b/security/secureclock/aidl/vts/functional/SecureClockAidlTest.cpp index 9ca1ee8af1..31f4854e8e 100644 --- a/security/secureclock/aidl/vts/functional/SecureClockAidlTest.cpp +++ b/security/secureclock/aidl/vts/functional/SecureClockAidlTest.cpp @@ -185,9 +185,11 @@ TEST_P(SecureClockAidlTest, MacChangesOnChangingTimestamp) { INSTANTIATE_TEST_SUITE_P(PerInstance, SecureClockAidlTest, testing::ValuesIn(SecureClockAidlTest::build_params()), ::android::PrintInstanceNameToString); +GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(SecureClockAidlTest); + } // namespace aidl::android::hardware::security::secureclock::test int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); -} \ No newline at end of file +}