mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 20:24:19 +00:00
Delete standard output in VtsAidlKeyMintTargetTest
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: I3d81f7e59b6189fab1b146320263509f2694c11e Signed-off-by: Huang Rui <rui1.huang@intel.com> Signed-off-by: Liu Kai <kai1.liu@intel.com>
This commit is contained in:
committed by
David Drysdale
parent
1b20111074
commit
ca3ea117ef
@@ -8917,13 +8917,6 @@ TEST_F(InstanceTest, FeatureVersionInAidl) {
|
|||||||
using aidl::android::hardware::security::keymint::test::KeyMintAidlTestBase;
|
using aidl::android::hardware::security::keymint::test::KeyMintAidlTestBase;
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
std::cout << "Testing ";
|
|
||||||
auto halInstances = KeyMintAidlTestBase::build_params();
|
|
||||||
std::cout << "HAL instances:\n";
|
|
||||||
for (auto& entry : halInstances) {
|
|
||||||
std::cout << " " << entry << '\n';
|
|
||||||
}
|
|
||||||
|
|
||||||
::testing::InitGoogleTest(&argc, argv);
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
for (int i = 1; i < argc; ++i) {
|
for (int i = 1; i < argc; ++i) {
|
||||||
if (argv[i][0] == '-') {
|
if (argv[i][0] == '-') {
|
||||||
|
|||||||
Reference in New Issue
Block a user