From 0cff7329d224abcf769c28af566370fc11ec63ee Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Sat, 11 May 2024 10:59:37 +0800 Subject: [PATCH] Delete standard output in VtsAidlKeyMintTargetTest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Done flag of VtsAidlKeyMintTargetTest is false during running the module with ‘--collect-tests-only’ because it uses standard output to print logs. Bug: 340576534 Test: run vts -m VtsAidlKeyMintTargetTest --collect-tests-only Change-Id: I4edb4a4b21132a9044347a512304c7cfee9156f8 Merged-In: I3d81f7e59b6189fab1b146320263509f2694c11e Signed-off-by: Huang Rui Signed-off-by: Liu Kai --- security/keymint/aidl/vts/functional/KeyMintTest.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/security/keymint/aidl/vts/functional/KeyMintTest.cpp b/security/keymint/aidl/vts/functional/KeyMintTest.cpp index 2e6fa3b492..7d98263fc1 100644 --- a/security/keymint/aidl/vts/functional/KeyMintTest.cpp +++ b/security/keymint/aidl/vts/functional/KeyMintTest.cpp @@ -8683,14 +8683,6 @@ INSTANTIATE_KEYMINT_AIDL_TEST(VsrRequirementTest); } // namespace aidl::android::hardware::security::keymint::test int main(int argc, char** argv) { - std::cout << "Testing "; - auto halInstances = - aidl::android::hardware::security::keymint::test::KeyMintAidlTestBase::build_params(); - std::cout << "HAL instances:\n"; - for (auto& entry : halInstances) { - std::cout << " " << entry << '\n'; - } - ::testing::InitGoogleTest(&argc, argv); for (int i = 1; i < argc; ++i) { if (argv[i][0] == '-') {