~jocave/checkbox/hybrid-amd-gpu-mods

« back to all changes in this revision

Viewing changes to providers/plainbox-provider-sru/units/sru.pxu

  • Committer: Sylvain Pineau
  • Date: 2015-12-18 08:21:50 UTC
  • mto: This revision was merged to the branch mainline in revision 4146.
  • Revision ID: sylvain.pineau@canonical.com-20151218082150-113so18zugo149od
providers:sru: New provider including SRU specific units

- The SRU testplan
- The opencv screenshot validation jobs and binary

Moving those tests out from the checkbox provider will avoid having tests
requiring python2.7 (since screenshot validation is only used for SRU)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
plugin: shell
 
2
category_id: 2013.com.canonical.plainbox::graphics
 
3
id: graphics/screenshot_opencv_validation
 
4
requires: package.name == 'python-opencv'
 
5
environ: EXTERNAL_WEBCAM_DEVICE
 
6
command:
 
7
 screenshot_validation \
 
8
    ${PLAINBOX_PROVIDER_DATA}/images/logo_Ubuntu_stacked_black.png \
 
9
    --device=${EXTERNAL_WEBCAM_DEVICE:-/dev/external_webcam} \
 
10
    -o ${PLAINBOX_SESSION_SHARE}/screenshot_opencv_validation.jpg
 
11
_summary: Test that a screenshot is valid, automatically
 
12
_description:
 
13
 Take a screengrab of the screen displaying a black and white Ubuntu logo.
 
14
 Check that the screenshot matches the original file using OpenCV ORB detection.
 
15
 
 
16
plugin: attachment
 
17
category_id: 2013.com.canonical.plainbox::graphics
 
18
id: screenshot_opencv_validation.jpg
 
19
depends: graphics/screenshot_opencv_validation
 
20
command: base64 ${PLAINBOX_SESSION_SHARE}/screenshot_opencv_validation.jpg
 
21
_description: Attaches the screenshot captured in graphics/screenshot_opencv_validation.
 
22
_summary: Attach the screenshot captured for the automatically validated screenshot test
 
23
 
1
24
id: sru
2
25
_name: All SRU Tests
3
26
unit: test plan
4
 
description:
 
27
_description:
5
28
    This test plan contains tests that are useful for validating a Stable
6
29
    Release Update (SRU) on Ubuntu Certified systems.  This test plan is not
7
30
    recommended for, nor will it be accepted for self-testing purposes.