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.7 6.6 6.5 Change-Id: If56ecaa5b0e3af22b3e26480a584e2d52ac97553 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
4a3936c33c
commit
f8724b9b7e
@ -470,6 +470,9 @@ static void waitForStartedAndFinished()
|
|||||||
break;
|
break;
|
||||||
QThread::msleep(250);
|
QThread::msleep(250);
|
||||||
} while (!finishedDeadline.hasExpired() && !isTestRunnerInterrupted.load());
|
} while (!finishedDeadline.hasExpired() && !isTestRunnerInterrupted.load());
|
||||||
|
|
||||||
|
if (finishedDeadline.hasExpired())
|
||||||
|
qWarning() << "Timed out while waiting for the test to finish";
|
||||||
}
|
}
|
||||||
|
|
||||||
static void obtainSdkVersion()
|
static void obtainSdkVersion()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user