summaryrefslogtreecommitdiffstats
path: root/src/testlib/doc/src
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-08-16 12:58:28 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2021-08-18 19:53:38 +0000
commit90d8a7bed6f5e3a27d3a908911d2b80ea83b646f (patch)
tree1a5e70bc448b2a8525f3fecfcf247e1b758ce1c8 /src/testlib/doc/src
parent7b74a65857cd5bf75cfb3fe2858c93a0c0d707e4 (diff)
Add note on selecting the device which is used to run tests on Android
Pick-to: 6.2 5.15 Change-Id: I9bcff18ca11fbbfdff968e29190cae488de56263 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/testlib/doc/src')
-rw-r--r--src/testlib/doc/src/qttestlib-manual.qdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testlib/doc/src/qttestlib-manual.qdoc b/src/testlib/doc/src/qttestlib-manual.qdoc
index ff02ab876d..d969cb1e0a 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.