AndroidTestRunner: don't use verbose for some adb commands

Those two commands don't need to print info that is not necessarily
needed.

Change-Id: I0a76c08848786ee9a9aa9e3cb876c66a79acaa3a
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
(cherry picked from commit 31dfb55bdda9fd248dcb3f956e18454e9fbebfa6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Assam Boudjelthia 2024-10-26 15:13:27 +03:00 committed by Qt Cherry-pick Bot
parent e0df563495
commit 7decb3af6a

View File

@ -422,7 +422,7 @@ static void waitForLoggingStarted()
QDeadlineTimer deadline(5000);
do {
if (execAdbCommand(adbLsCmd))
if (execAdbCommand(adbLsCmd, nullptr, false))
break;
QThread::msleep(100);
} while (!deadline.hasExpired() && !g_testInfo.isTestRunnerInterrupted.load());
@ -694,7 +694,7 @@ static int testExitCode()
{
QByteArray exitCodeOutput;
const QString exitCodeCmd = "cat files/qtest_last_exit_code 2> /dev/null"_L1;
if (!execAdbCommand({ "shell"_L1, runCommandAsUserArgs(exitCodeCmd) }, &exitCodeOutput))
if (!execAdbCommand({ "shell"_L1, runCommandAsUserArgs(exitCodeCmd) }, &exitCodeOutput, false))
return EXIT_ERROR;
bool ok;