summaryrefslogtreecommitdiffstats
path: root/tools/runonphone/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Enable building with MSVC2008Shane Kearns2010-01-081-0/+4
| | | | | | | | | | Removed the alternate implementation of the registry reading, although the new API is simpler, the old XP method is not deprecated. Added an extra library that is needed according to API documentation, but is omittable on MinGW. Also gave a better error message when serial port detection fails. Reviewed-by: Miikka Heikkinen
* Deal with test cases that crash or hangShane Kearns2010-01-041-17/+65
| | | | | | | | | | | | | | Added an optional timeout to runonphone - the application will be killed after this time. Used when autotesting unattended, as some tests can hang. Handled the just in time debug halting the application when it is about to crash, by terminating the application. In future, we could capture a call stack or something here. Also added quiet/verbose options to control the amount of output from runonphone. Reviewed-by: Janne Koskinen
* Fixed incorrect headers.axis2009-12-221-14/+27
| | | | | AutoTest: Passed RevBy: Paul Olav Tvete
* Tool for launching symbian apps on the phone from windows command lineShane Kearns2009-12-211-0/+158
The tool uses TRK to launch the application. TRK is a debug agent, available as a signed package for consumer phones. For Nokia phones, it is distributed with carbide; for other manufacturers it can be downloaded from their developer websites. The launcher code is reused from Qt creator, with a patch to allow us to pass command line arguments to the process being launched. The "make run" target is enhanced to support running on target as well as the emulator. Like the "make sis" target, the last platform to have been built is the one that will be launched. The runonphone tool needs to be built in a Qt environment configured for windows, and requires at least windows XP (Symbian development requires windows XP SP2). Current proposal is to include a statically linked exe in the bin directory for binary packages. Reviewed-by: Janne Koskinen