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:
parent
e0df563495
commit
7decb3af6a
@ -422,7 +422,7 @@ static void waitForLoggingStarted()
|
|||||||
|
|
||||||
QDeadlineTimer deadline(5000);
|
QDeadlineTimer deadline(5000);
|
||||||
do {
|
do {
|
||||||
if (execAdbCommand(adbLsCmd))
|
if (execAdbCommand(adbLsCmd, nullptr, false))
|
||||||
break;
|
break;
|
||||||
QThread::msleep(100);
|
QThread::msleep(100);
|
||||||
} while (!deadline.hasExpired() && !g_testInfo.isTestRunnerInterrupted.load());
|
} while (!deadline.hasExpired() && !g_testInfo.isTestRunnerInterrupted.load());
|
||||||
@ -694,7 +694,7 @@ static int testExitCode()
|
|||||||
{
|
{
|
||||||
QByteArray exitCodeOutput;
|
QByteArray exitCodeOutput;
|
||||||
const QString exitCodeCmd = "cat files/qtest_last_exit_code 2> /dev/null"_L1;
|
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;
|
return EXIT_ERROR;
|
||||||
|
|
||||||
bool ok;
|
bool ok;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user