summaryrefslogtreecommitdiffstats
path: root/tests/auto/android
Commit message (Collapse)AuthorAgeFilesLines
* Updated license headersJani Heikkinen2016-01-211-17/+12
| | | | | | | | | | | | | From Qt 5.7 -> tools & applications are lisenced under GPL v3 with some exceptions, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new GPL-EXCEPT header instead of LGPL21 one (in those files which will be under GPL 3 with exceptions) Change-Id: I42a473ddc97101492a60b9287d90979d9eb35ae1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Fix typo in test results report for androidSamuel Gaist2015-07-281-1/+1
| | | | | Change-Id: Ibb2319b1e96ce34d4c61c8504b7700a78462c56c Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-111-7/+7
| | | | | | | | | | | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Outdated header.LGPL removed (use header.LGPL21 instead) Old header.LGPL3 renamed to header.LGPL3-COMM to match actual licensing combination. New header.LGPL-COMM taken in the use file which were using old header.LGPL3 (src/plugins/platforms/android/extract.cpp) Added new header.LGPL3 containing Commercial + LGPLv3 + GPLv2 license combination Change-Id: I6f49b819a8a20cc4f88b794a8f6726d975e8ffbe Reviewed-by: Matti Paaso <matti.paaso@theqtcompany.com>
* Android: don't report xfailBogDan Vatra2015-01-191-1/+1
| | | | | | Change-Id: I2998632cffc29161eb26421b07cf51a4138fcad3 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com> Reviewed-by: BogDan Vatra <bogdan@kde.org>
* Android: Check XML output and optionally stop on fail.BogDan Vatra2015-01-061-0/+41
| | | | | | | | The failures will be printed in red color. Use -f param to stop on fail. Change-Id: Ife58f9264a9ac859d739842c6d1359acde807ce7 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* Remove old test script & project.BogDan Vatra2014-12-209-1614/+0
| | | | | Change-Id: Ia31959228e188a3f9d2fe3a95c7381a3f4e5d1fb Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* Update license headers and add new license filesMatti Paaso2014-09-242-38/+22
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 - Removed LICENSE.GPL Change-Id: Iec3406e3eb3f133be549092015cefe33d259a3f2 Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
* Android: Add uninstall option.BogDan Vatra2014-07-211-0/+8
| | | | | | | | Uninstall option will uninstall the test afer has been executed. It is useful when you are using your own phone to execute the tests. Change-Id: I2a3f6c3a93099d70c98f9ce059da22c409b55843 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Android: Use androiddeployqt from qt path.BogDan Vatra2014-07-211-2/+3
| | | | | Change-Id: I085f2b20d1f53e3f5caf0b208f64a75c26a89219 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Android: Add some ci usage features to Android testrunnerSimo Fält2014-04-091-9/+167
| | | | | | | | | | | | | | | Added new options: - silent to suppress the noice from ext tools, making it easier to parse failed test cases. - ci, to check test insignificance. Requires QMake::Project cpan module if used. Also added printing out results after each test as well as full summary after test run is complete. Task-number: QTQAINFRA-641 Change-Id: Ie5f02710a939f7526e0dd39979a0cd97ed19f55b Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Android: Fix missing data from some autotestsEskil Abrahamsen Blomfeldt2014-03-271-0/+4
| | | | | | | | | | | | | | | After a test ended, we would instantly try to fetch its output, but at this point, it might still not be available through the adb interface, probably due to some cache synchronization in the file system? Adding an arbitrary three second pause between finishing the test and requesting the file fixes this. If the error pops up later again, we could do something more robust, like going in a loop for X seconds until the file has been fetched. Especially if detecting task finish was successful. Task-number: QTBUG-37444 Change-Id: I5442e1e0181f489b0626834a390e46c15bc0b371 Reviewed-by: Simo Fält <simo.falt@digia.com>
* Adding CI utilities to Android test scriptSimo Fält2013-10-301-5/+33
| | | | | | | | | | | | It is now configurable if test results are stored in xml, plain text or in both formats. Default is xml, like it was, Max runtime is also configurable so that we can reduce the CI round. With default setting it takes more than eight hours within current CI node. The latest test result dir is linked as latest. Change-Id: I5d27cefe17e4f86648132db7ec104711d993c3de Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Enabling CI usage for runtests_androiddeployqt.plSimo Fält2013-10-201-4/+25
| | | | | | | | | | | | | | - Fixed issues when having multiple devices connected at the same time. - Fixed hard coded paths - Removed not existing function call, which caused test run to exit too early. - Added possibility to add and connect to device, configured as env variable. Task-number: QTQAINFRA-641 Change-Id: I8c1e003ce4ffbc9fdd9572dc55eef8fe92330cba Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Android: Add test script based on androiddeployqtEskil Abrahamsen Blomfeldt2013-10-161-0/+302
| | | | | | | | | | | | | | There are a few problems with the Quadruplor setup in Qt 5. First of all, it doesn't work with modules, since it has a hard coded library dependency list. Second of all, it duplicates the application template, so changes need to also be duplicated. This often gets out of sync. Third of all, it duplicates a lot of deployment rules which are now contained in androiddeployqt. Task-number: QTBUG-33996 Change-Id: I0630a38aeba7d0075df8fae671abc311fc36de61 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Android: Build autotest service against android-10Eskil Abrahamsen Blomfeldt2013-10-161-1/+1
| | | | | | | | No need to default to yet another SDK here. This is a left-over from Necessitas, which supports versions down to android-4. Change-Id: I2e79be641288c14f92c205b30f2db6db793d783f Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Fix clean-up code in Android autotest scriptEskil Abrahamsen Blomfeldt2013-08-051-4/+4
| | | | | | | | | | | If the files directory is not world-readable as well as writable, the "rm *" command will fail because it cannot list the files to delete. Task-number: QTBUG-32079 Change-Id: Idb32a2be3184b9ffc43d011136fcc6f2a2a01756 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com> Reviewed-by: Simo Fält <simo.falt@digia.com>
* Android: Enable script to run single autotestEskil Abrahamsen Blomfeldt2013-08-051-1/+9
| | | | | | | | | To make it easier to debug failures, adds the "testcase" commandline option, which takes the name of the test to run and then just runs this single test. Change-Id: Ib202bb2a5dac889b6691f9c4d0620b3e0941cf3d Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Make sure libgnustl_shared.so is deployed along with Qt libsEskil Abrahamsen Blomfeldt2013-07-041-0/+1
| | | | | | | | | | Since configure no longer puts this in $QTDIR/lib, we need to copy it from the NDK and into the device ourselves. Task-number: QTBUG-32079 Change-Id: I75ee5f8a00de9a1ba536bcfd857e6b2e7a0e1f6e Reviewed-by: BogDan Vatra <bogdan@kde.org> Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Make sure activity is closedEskil Abrahamsen Blomfeldt2013-07-041-0/+1
| | | | | | | | | If we don't call finish() before crashing the activity, then the Activity Manager will just restart it. Task-number: QTBUG-32079 Change-Id: I09623afe545c3f4e8b9be801ccfbe244059b270e Reviewed-by: BogDan Vatra <bogdan@kde.org>
* Make sure main application library is loadedEskil Abrahamsen Blomfeldt2013-07-041-0/+1
| | | | | | | | We need to also load the binary for the application itself. Task-number: QTBUG-32079 Change-Id: Ic26d5e6d950d6d18aaa54392c3c84b6deaa56c75 Reviewed-by: BogDan Vatra <bogdan@kde.org>
* Update native functions to match signature in platform pluginEskil Abrahamsen Blomfeldt2013-07-041-4/+9
| | | | | | | | | We just pass 1.0 as the scaled density for now, since it shouldn't make much different to the code being tested. Task-number: QTBUG-32079 Change-Id: I888c4640e4627f47a2c128d2ce2a41adf4ca3132 Reviewed-by: BogDan Vatra <bogdan@kde.org>
* Fix Qt tests for Android.BogDan Vatra2013-04-035-31/+87
| | | | | Change-Id: I53856056a00684a9a37596a74b79f46d3b47331f Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Add missing license headerPaul Olav Tvete2013-03-051-0/+41
| | | | | Change-Id: I0a1c453ff87beb7c900c6b1e76432bcd908a999d Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Introducing the Qt Android portPaul Olav Tvete2013-03-059-0/+1509
Based on the Necessitas project by Bogdan Vatra. Contributors to the Qt5 project: BogDan Vatra <bogdan@kde.org> Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> hjk <hjk121@nokiamail.com> Oswald Buddenhagen <oswald.buddenhagen@digia.com> Paul Olav Tvete <paul.tvete@digia.com> Robin Burchell <robin+qt@viroteck.net> Samuel Rødal <samuel.rodal@digia.com> Yoann Lopes <yoann.lopes@digia.com> The full history of the Qt5 port can be found in refs/old-heads/android, SHA-1 249ca9ca2c7d876b91b31df9434dde47f9065d0d Change-Id: Iff1a7b2dbb707c986f2639e65e39ed8f22430120 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>