diff options
| author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2015-03-05 17:15:04 +0800 |
|---|---|---|
| committer | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2015-03-05 17:15:04 +0800 |
| commit | 58ff4593933686cef911b551ee3d9f64badd946d (patch) | |
| tree | 9ec60078dce4156a7deebcf542c3fe6e86587857 /jobs | |
| parent | aa20601f7d5b898bbbbd848860379ecd3568271c (diff) | |
| parent | b20d5df8d9d6d2b4205270139355514b514a5f45 (diff) | |
Job added into .pxu testplan file
Diffstat (limited to 'jobs')
| -rw-r--r-- | jobs/graphics.txt.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/jobs/graphics.txt.in b/jobs/graphics.txt.in index 15902a6..b2cd951 100644 --- a/jobs/graphics.txt.in +++ b/jobs/graphics.txt.in @@ -550,3 +550,30 @@ command: [ -f ${PLAINBOX_SESSION_SHARE}/screen-capture.png ] && base64 ${PLAINBO _description: Attaches the simple screen capture file +unit: job +id: graphics_card_resource +plugin: resource +command: graphics_card_resource + +unit: template +template-unit: job +template-resource: graphics_card_resource +plugin: shell +id: "graphics/{index}_screen-capture-internal_{product}" +_summary: Obtains a simple screen capture of {product} +estimated_duration: 1.0 +requires: package.name == 'gnome-screenshot' +command: gnome-screenshot --file $PLAINBOX_SESSION_SHARE/screen-capture-{index}.png +_description: Obtains a simple screen capture of {product} using gnome-screenshot if present + +unit: template +template-unit: job +template-resource: graphics_card_resource +plugin: attachment +id: graphics/{index}_screen-capture-internal_{product}.png +depends: "graphics/{index}_screen-capture-internal_{product}" +_summary: Attaches a simple screen capture of {product} +estimated_duration: 1.0 +command: [ -f $PLAINBOX_SESSION_SHARE/screen-capture-{index}.png ] && base64 $PLAINBOX_SESSION_SHARE/screen-capture-{index}.png +_description: Attaches the simple screen capture file of {product} + |
