AndroidTestRunner: log when timing out waiting for the test to finish

Leave a log message to know when the test runner timed out or the test
finished.

Pick-to: 6.5
Change-Id: If56ecaa5b0e3af22b3e26480a584e2d52ac97553
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit f8724b9b7eb22b9abace1a67f652c0b6fc6c683d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 75fc7a7251b421534a5523e565abc257ffe16e99)
This commit is contained in:
Assam Boudjelthia 2023-12-12 12:49:01 +02:00
parent 3d2265b333
commit 96527507c4

View File

@ -452,6 +452,9 @@ static void waitForStartedAndFinished()
break;
QThread::msleep(250);
} while (!finishedDeadline.hasExpired() && !isTestRunnerInterrupted.load());
if (finishedDeadline.hasExpired())
qWarning() << "Timed out while waiting for the test to finish";
}
static void obtainSdkVersion()