~cypressyew/checkbox/cbt-readme-fix

« back to all changes in this revision

Viewing changes to providers/plainbox-provider-checkbox/jobs/camera.txt.in

  • Committer: Sylvain Pineau
  • Author(s): Taihsiang Ho
  • Date: 2016-05-13 10:02:14 UTC
  • mfrom: (4337.2.2 checkbox)
  • Revision ID: sylvain_pineau-20160513100214-k1bq7iwk9lcdhtfa
"automatic merge of lp:~taihsiangho/checkbox/fix1578136-camera-test-failed-resurrect-for-precise/ by tarmac [r=sylvain-pineau][bug=1578136][author=taihsiangho]"

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
estimated_duration: 1.2
9
9
requires:
10
10
 device.category == 'CAPTURE'
11
 
command: camera_test detect
 
11
command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy detect; else camera_test detect; fi
12
12
_description: This Automated test attempts to detect a camera.
13
13
 
14
14
plugin: user-interact-verify
18
18
depends: camera/detect
19
19
requires:
20
20
 device.category == 'CAPTURE'
21
 
command: camera_test display
 
21
command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy display; else camera_test display; fi
22
22
_description:
23
23
 PURPOSE:
24
24
     This test will check that the built-in camera works
37
37
 package.name == 'eog'
38
38
 package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
39
39
 device.category == 'CAPTURE'
40
 
command: camera_test still
 
40
command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy still; else camera_test still; fi
41
41
_description:
42
42
 PURPOSE:
43
43
     This test will check that the built-in camera works
54
54
requires:
55
55
 package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0'
56
56
 device.category == 'CAPTURE'
57
 
command: camera_test resolutions
 
57
command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy resolutions; else camera_test resolutions; fi
58
58
_description:
59
59
  Takes multiple pictures based on the resolutions supported by the camera and
60
60
  validates their size and that they are of a valid format.