Merge lp:~brendan-donegan/checkbox/graphics_screenshot_gpu_lockup_0.12 into lp:checkbox/0.12

Proposed by Brendan Donegan
Status: Merged
Merged at revision: 1117
Proposed branch: lp:~brendan-donegan/checkbox/graphics_screenshot_gpu_lockup_0.12
Merge into: lp:checkbox/0.12
Diff against target: 86 lines (+61/-0)
3 files modified
debian/changelog (+4/-0)
jobs/graphics.txt.in (+39/-0)
jobs/suspend.txt.in (+18/-0)
To merge this branch: bzr merge lp:~brendan-donegan/checkbox/graphics_screenshot_gpu_lockup_0.12
Reviewer Review Type Date Requested Status
Daniel Manrique (community) Approve
Review via email: mp+106142@code.launchpad.net

Description of the change

This merge request backports the necessary jobs to allow the graphics screenshot and gpu_lockup tests to be run in Oneiric SRUs

To post a comment you must log in.
1118. By Brendan Donegan

Remove gpu_lockup test as it's not ready for primetime and add in the screenshot_after_suspend test.

1119. By Brendan Donegan

Corrected debian/changelog

Revision history for this message
Daniel Manrique (roadmr) wrote :

The code looks good and since it's just test definitions, I guess chances of it failing for unknown reasons are slim. Merging.. thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-03-01 04:19:29 +0000
3+++ debian/changelog 2012-05-18 15:49:21 +0000
4@@ -1,5 +1,9 @@
5 checkbox (0.12.12) oneiric; urgency=low
6
7+ [Brendan Donegan]
8+ * Backported graphics screenshot and tests to be used in the SRU
9+ test suite.
10+
11 [Jeff Lane]
12 * Backported changes to checkbox/parsers/udevadm.py that resolved issue with
13 disk tests not being run against local hard drives (LP: #925582)
14
15=== modified file 'jobs/graphics.txt.in'
16--- jobs/graphics.txt.in 2011-08-10 13:14:40 +0000
17+++ jobs/graphics.txt.in 2012-05-18 15:49:21 +0000
18@@ -141,3 +141,42 @@
19 Select Test to execute glxgears to ensure that minimal 3d graphics support is in place.
20 .
21 Did the 3d animation appear?
22+
23+plugin: shell
24+name: graphics/screenshot
25+requires: package.name == 'fswebcam'
26+command: camera_test still --device=/dev/external_webcam -f ${CHECKBOX_DATA}/screenshot.jpg -q 2>&1 | ansi_parser
27+_description:
28+ PURPOSE:
29+ Take a screengrab of the current screen (logged on Unity desktop)
30+ STEPS:
31+ 1. Take picture using USB webcam
32+ VERIFICATION:
33+ 1. Review attachment manually later
34+
35+plugin: attachment
36+name: screenshot.jpg
37+depends: graphics/screenshot
38+command: cat ${CHECKBOX_DATA}/screenshot.jpg
39+_description: Attaches the screenshot captured in graphics/screenshot.
40+
41+plugin: shell
42+name: graphics/screenshot_fullscreen_video
43+requires: package.name == 'fswebcam'
44+command:
45+ gst_pipeline_test -t 20 -f "playbin2 uri=file://${CHECKBOX_SHARE}/data/video/Ogg_Theora_Video.ogv" &
46+ sleep 15 && camera_test still --device=/dev/external_webcam -f ${CHECKBOX_DATA}/screenshot_fullscreen_video.jpg -q 2>&1 | ansi_parser
47+_description:
48+ PURPOSE:
49+ Take a screengrab of the current screen during fullscreen video playback
50+ STEPS:
51+ 1. Start a fullscreen video playback
52+ 2. Take picture using USB webcam after a few seconds
53+ VERIFICATION:
54+ 1. Review attachment manually later
55+
56+plugin: attachment
57+name: screenshot_fullscreen_video.jpg
58+depends: graphics/screenshot_fullscreen_video
59+command: cat ${CHECKBOX_DATA}/screenshot_fullscreen_video.jpg
60+_description: Attaches the screenshot captured in graphics/screenshot_fullscreen_video.
61
62=== modified file 'jobs/suspend.txt.in'
63--- jobs/suspend.txt.in 2012-03-22 08:08:56 +0000
64+++ jobs/suspend.txt.in 2012-05-18 15:49:21 +0000
65@@ -271,3 +271,21 @@
66 user: root
67 command: wake_on_lan_test ${WAKE_ON_LAN_URL} --debug
68
69+plugin: shell
70+name: suspend/screenshot_after_suspend
71+depends: suspend/suspend_advanced_auto
72+requires: package.name == 'fswebcam'
73+command: camera_test still --device=/dev/external_webcam -f ${CHECKBOX_DATA}/screenshot_after_suspend.jpg -q 2>&1 | ansi_parser
74+_description:
75+ PURPOSE:
76+ Take a screengrab of the current screen after suspend (logged on Unity desktop)
77+ STEPS:
78+ 1. Take picture using USB webcam
79+ VERIFICATION:
80+ 1. Review attachment manually later
81+
82+plugin: attachment
83+name: screenshot_after_suspend.jpg
84+depends: suspend/screenshot_after_suspend
85+command: cat ${CHECKBOX_DATA}/screenshot_after_suspend.jpg
86+_description: Attaches the screenshot captured in graphics/screenshot.

Subscribers

People subscribed via source and target branches