summaryrefslogtreecommitdiff
path: root/security/secureclock/aidl/vts/functional/SecureClockAidlTest.cpp
diff options
context:
space:
mode:
authorShawn Willden <swillden@google.com>2021-04-01 17:06:06 -0600
committerShawn Willden <swillden@google.com>2021-04-01 17:06:06 -0600
commit14fdd67a30e52676a384e1a9726a76056952c47e (patch)
tree1c3620ee34819f0f87a48813109ed9c7aabc4e1f /security/secureclock/aidl/vts/functional/SecureClockAidlTest.cpp
parent7e71f1e5c52faf4004091baa58320f54458b664f (diff)
Allow SecureClock tests to pass on devices w/out SecureClock
Bug: 182289099 Test: VtsAidlSecureClockTargetTest Change-Id: I830fe2879cd3328adf950060afb7e9eb18e558b7
Diffstat (limited to 'security/secureclock/aidl/vts/functional/SecureClockAidlTest.cpp')
-rw-r--r--security/secureclock/aidl/vts/functional/SecureClockAidlTest.cpp4
1 files changed, 3 insertions, 1 deletions
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
+}