summaryrefslogtreecommitdiffstats
path: root/tests/auto/android
Commit message (Collapse)AuthorAgeFilesLines
* 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>