AndroidTestRunner: don't print warning if crash logcat is empty
If it's empty and the command didn't fail then there's no crash so no need to print anything. Pick-to: 6.8 Change-Id: Id9045138a6535220abf819b8d334c629765a6547 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
This commit is contained in:
parent
5a07f6ca4e
commit
a9db240111
@ -653,10 +653,8 @@ void printLogcatCrashBuffer(const QString &formattedTime)
|
|||||||
|
|
||||||
const QByteArray crash = useNdkStack ? ndkStackProcess.readAllStandardOutput()
|
const QByteArray crash = useNdkStack ? ndkStackProcess.readAllStandardOutput()
|
||||||
: adbCrashProcess.readAllStandardOutput();
|
: adbCrashProcess.readAllStandardOutput();
|
||||||
if (crash.isEmpty()) {
|
if (crash.isEmpty())
|
||||||
qWarning() << "The retrieved crash logcat is empty";
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
qDebug() << "****** Begin logcat crash buffer output ******";
|
qDebug() << "****** Begin logcat crash buffer output ******";
|
||||||
qDebug().noquote() << crash;
|
qDebug().noquote() << crash;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user