diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-08-16 12:58:28 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-18 23:19:48 +0000 |
commit | 34e9e1e8b88d25bd53c40de6019f8de3aa2e50ab (patch) | |
tree | 85b90019baf1968af9ae7f13e6b3e3810c09d9c8 | |
parent | f41f22e87c14856b8120455b17b39f0d752de742 (diff) |
Add note on selecting the device which is used to run tests on Android
Change-Id: I9bcff18ca11fbbfdff968e29190cae488de56263
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 90d8a7bed6f5e3a27d3a908911d2b80ea83b646f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | doc/global/externalsites/external-resources.qdoc | 4 | ||||
-rw-r--r-- | src/testlib/doc/src/qttestlib-manual.qdoc | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/global/externalsites/external-resources.qdoc b/doc/global/externalsites/external-resources.qdoc index 9c18133628..f3682e593a 100644 --- a/doc/global/externalsites/external-resources.qdoc +++ b/doc/global/externalsites/external-resources.qdoc @@ -41,6 +41,10 @@ \title Android: App Versioning */ /*! + \externalpage https://developer.android.com/studio/command-line/adb#devicestatus + \title Android: Query for devices +*/ +/*! \externalpage http://www.freedesktop.org/ \title freedesktop.org */ diff --git a/src/testlib/doc/src/qttestlib-manual.qdoc b/src/testlib/doc/src/qttestlib-manual.qdoc index 9073cc7c88..47a4940600 100644 --- a/src/testlib/doc/src/qttestlib-manual.qdoc +++ b/src/testlib/doc/src/qttestlib-manual.qdoc @@ -153,6 +153,12 @@ All labeled targets will be run when \c {test} target is called on the command line. + \note On Android, if you have one connected device or emulator, tests will + run on that device. If you have more than one device connected, set the + environment variable \c {ANDROID_DEVICE_SERIAL} to the + \l {Android: Query for devices}{ADB serial number} of the device that + you want to run tests on. + There are several other advantages with CMake. For example, the result of a test run can be published on a web server using CDash with virtually no effort. |