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

« back to all changes in this revision

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

  • 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:
551
551
 
552
552
plugin: shell
553
553
category_id: 2013.com.canonical.plainbox::graphics
554
 
id: graphics/screenshot_opencv_validation
555
 
requires: package.name == 'python-opencv'
556
 
environ: EXTERNAL_WEBCAM_DEVICE
557
 
command:
558
 
 screenshot_validation \
559
 
    ${PLAINBOX_PROVIDER_DATA}/images/logo_Ubuntu_stacked_black.png \
560
 
    --device=${EXTERNAL_WEBCAM_DEVICE:-/dev/external_webcam} \
561
 
    -o ${PLAINBOX_SESSION_SHARE}/screenshot_opencv_validation.jpg
562
 
_summary: Test that a screenshot is valid, automatically
563
 
_description:
564
 
 Take a screengrab of the screen displaying a black and white Ubuntu logo.
565
 
 Check that the screenshot matches the original file using OpenCV ORB detection.
566
 
 
567
 
plugin: attachment
568
 
category_id: 2013.com.canonical.plainbox::graphics
569
 
id: screenshot_opencv_validation.jpg
570
 
depends: graphics/screenshot_opencv_validation
571
 
command: base64 ${PLAINBOX_SESSION_SHARE}/screenshot_opencv_validation.jpg
572
 
_description: Attaches the screenshot captured in graphics/screenshot_opencv_validation.
573
 
_summary: Attach the screenshot captured for the automatically validated screenshot test
574
 
 
575
 
plugin: shell
576
 
category_id: 2013.com.canonical.plainbox::graphics
577
554
id: graphics/screen-capture-internal
578
555
_summary: Obtains a simple screen capture
579
556
estimated_duration: 1.0