Merge ~gabrielzchen/plainbox-provider-checkbox:IR-HD-camera into plainbox-provider-checkbox:master

Proposed by Gabriel Zhi Chen
Status: Rejected
Rejected by: Gabriel Zhi Chen
Proposed branch: ~gabrielzchen/plainbox-provider-checkbox:IR-HD-camera
Merge into: plainbox-provider-checkbox:master
Diff against target: 14 lines (+2/-1)
1 file modified
units/camera/jobs.pxu (+2/-1)
Reviewer Review Type Date Requested Status
Gabriel Zhi Chen Abstain
Jonathan Cave (community) Needs Fixing
Jerry Kao Pending
Review via email: mp+355107@code.launchpad.net

Commit message

    Add a verify item on camera test case.
    For Sutton project, there are some configs which have HD and IR camera.
    Lenovo wishes HD camera as the default camera.

    There are 2 bugs to refer to :

    https://bugs.launchpad.net/sutton/+bug/1790841
    https://bugs.launchpad.net/sutton/+bug/1792327

To post a comment you must log in.
Revision history for this message
Jonathan Cave (jocave) wrote :

The test modified in this MR could be used on devices for any project. It is therefore possible that the camera is not HD and there is unlikely to be an IR camera. Hence, I don't think it makes sense to modify this test in this way.

Could we add a different test and identify appropriate systems to run it on?

review: Needs Fixing
Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :

JerryKao> spineau, joc, re: gabrielc's MR, are we going to have a test case to check HD camera in /dev/vedio0 ?, if not, I would like the MR merged as a hints for tester
<cwayne> we can't merge it as-is due to joc's comments, if anything it should be sutton-specific, not in p-p-c
<spineau> JerryKao: if you need such test case like now, then please propose a new test for sutton only
<spineau> we'll rework p-p-c to create two tests for each camera using templates but as I said, we have to update the udev parser to extract the v4l device name too (so far they are only reported with the input DEVPATH, not /dev/videoX)
<JerryKao> cwayne, spineau ok
<JerryKao> gabrielc, ^^ what do you think? 2 options, be careful when run camera preview job, or create a new job in checkbox oem?
<gabrielc> JerryKao: I prefer create a new job in checkbox oem. It is visible for all related engineers. We are easy to get the same key point in Cameras test by checkbox.
<JerryKao> gabrielc, great! please do it :)

review: Abstain

Unmerged commits

b8343fc... by Gabriel Zhi Chen

Add a verify item on camera test case.
For Sutton project, there are some configs which have HD and IR camera.
Lenovo wishes HD camera as the default camera.

There are 2 bugs to refer to :

https://bugs.launchpad.net/sutton/+bug/1790841
https://bugs.launchpad.net/sutton/+bug/1792327

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/units/camera/jobs.pxu b/units/camera/jobs.pxu
2index 4219462..8a547cb 100644
3--- a/units/camera/jobs.pxu
4+++ b/units/camera/jobs.pxu
5@@ -23,7 +23,8 @@ _description:
6 STEPS:
7 1. Click on Test to display a video capture from the camera for ten seconds.
8 VERIFICATION:
9- Did you see the video capture?
10+ 1. Verify the default camera should be HD camera rather than IR camera.
11+ 2. Did you see the video capture?
12
13 plugin: user-interact-verify
14 template-engine: jinja2

Subscribers

People subscribed via source and target branches