Add screen capture as attachment to the bundle of results for each test

Registered by Yongqin Liu

Add screen capture to the bundle of results for each test, to help the developer to figure out the problem.

Blueprint information

Status:
Complete
Approver:
Paul Larson
Priority:
Low
Drafter:
Yongqin Liu
Direction:
Approved
Assignee:
Yongqin Liu
Definition:
Approved
Series goal:
Accepted for linaro-11.11
Implementation:
Implemented
Milestone target:
milestone icon 2011.10
Started by
Yongqin Liu
Completed by
Paul Larson

Sprints

Whiteboard

Notes:
About the screen capture tool, there are two types: the ddmms one and the binary command one (screencap)
The ddms one is executed outside the android, and the screencap one is executed on android, but not exist on our linaro-android images. The screencap's source path is frameworks/base/cmds/screencap/screencap.cpp
This time use the screencap command line to capture screen.
And the source is in lp:~liuyq0307/+junk/lavatools-src, It's better to add merge to lianro-android.

Headline:
Add screen capture for to result for each test

Acceptance:
There are screen capture file that after the test executed in the results on lava-server

Status:
Have talked about this with pwlars

(?)

Work Items

Work items:
Find a tool to automate getting the screen shot: DONE
Get tool added to lava-android-test: DONE
Check the result on production after merged: DONE

This blueprint contains Public information 
Everyone can see this information.