diff --git a/src/tools/androidtestrunner/main.cpp b/src/tools/androidtestrunner/main.cpp index a3beb4b39e9..2f995f04095 100644 --- a/src/tools/androidtestrunner/main.cpp +++ b/src/tools/androidtestrunner/main.cpp @@ -555,7 +555,11 @@ static bool pullResults() void printLogcat(const QString &formattedTime) { - QStringList logcatArgs = { "logcat"_L1 }; + QStringList logcatArgs = { "logcat"_L1, "-v"_L1, "brief"_L1 }; + + if (qEnvironmentVariable("QTEST_ENVIRONMENT") != "ci"_L1) + logcatArgs << "-v"_L1 << "color"_L1; + if (g_testInfo.sdkVersion <= 23 || g_testInfo.pid == -1) logcatArgs << "-t"_L1 << formattedTime; else