add support for monkeyrunner

Registered by Yongqin Liu

As there are some cases that monkeyrunner test scripts are created for android test by Android team members,
so it's better to add support for running monkey runner scripts more comfort.

Blueprint information

Status:
Complete
Approver:
Paul Larson
Priority:
High
Drafter:
Yongqin Liu
Direction:
Approved
Assignee:
Yongqin Liu
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.05
Started by
Yongqin Liu
Completed by
Fathi Boudra

Whiteboard

[liuyq0307, 2012-03-22] the first parameter of each monkeyrunner script is the device serial number
[liuyq0307, 2012-03-22] the execution order is scripts path order, and the script that not end with .py will be ignored.
[liuyq0307, 2012-04-18] Because android team now only has one bp releated to monkeyrunner, so just modified to support those scripts. The command is as below:
   lava-android-test run-monkeyrunner git-url
all .py file in that git repository will be run in their path order, and all .png files that generated in that directory will be gathered.
[liuyq0307, 2012-04-26] bp of android team, https://blueprints.launchpad.net/linaro-android/+spec/auto-use-test-1204
[fboudra, 2012-04-27] Re-target to 2012.05 milestone.

Meta:
Headline: Add support for running monkey runner scripts
Acceptance: A user can specify the monkey runner script from Android build service and can run the test in the Validation lab after a build.

(?)

Work Items

Work items:
[liuyq0307] Consider the interface for running monkeyrunner with LAVA: DONE
[liuyq0307] Investigation on how to add support in lava-android-test: DONE
[liuyq0307] Modify lava-android-test: DONE
[liuyq0307] Modify lava-dispatcher to support the monkeyrunner test: DONE
[liuyq0307] Modify linaro-android-build-tools to post right lava jobs: DONE
[liuyq0307] Modify wiki https://wiki.linaro.org/Platform/Android/AndroidBuild-LavaIntegration: DONE
[liuyq0307] Deploy related branches to staging to test: DONE
[liuyq0307] Deploy to production: DONE

This blueprint contains Public information 
Everyone can see this information.