diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-09-25 09:04:21 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-09-25 09:04:21 +0200 |
commit | cf516d543ae166e122ee849ff9219718eb4ab3be (patch) | |
tree | 5c54d27b32bbbf855b696ef096981a11f1cad705 /units/led | |
parent | b06e07d924415ede481e628c5d712642e0789980 (diff) |
units:camera: Use template jobs to drive V4L devices
Using templates will help to test systems with multiple webcams. Example: IR + HD webcams. Note: - After-suspend-manual flags added to the new jobs.
Diffstat (limited to 'units/led')
-rw-r--r-- | units/led/jobs.pxu | 15 | ||||
-rw-r--r-- | units/led/test-plan.pxu | 8 |
2 files changed, 6 insertions, 17 deletions
diff --git a/units/led/jobs.pxu b/units/led/jobs.pxu index 15d3065..2c2ea16 100644 --- a/units/led/jobs.pxu +++ b/units/led/jobs.pxu @@ -171,21 +171,6 @@ plugin: manual category_id: led estimated_duration: 180 -plugin: user-interact-verify -category_id: led -id: led/camera -estimated_duration: 20.0 -depends: camera/detect -command: camera_test led -_description: - PURPOSE: - Camera LED verification - STEPS: - 1. Select Test to activate camera - 2. Camera LED should light for a few seconds - VERIFICATION: - Did the camera LED light? - plugin: manual category_id: led id: led/touchpad diff --git a/units/led/test-plan.pxu b/units/led/test-plan.pxu index 88d38a6..0329717 100644 --- a/units/led/test-plan.pxu +++ b/units/led/test-plan.pxu @@ -25,10 +25,12 @@ include: led/battery-charged led/battery-charging led/battery-low - led/camera + camera/led_.* led/caps-lock led/power led/touchpad +bootstrap_include: + device id: led-cert-automated unit: test plan @@ -50,10 +52,12 @@ include: suspend/led_after_suspend/battery-charged suspend/led_after_suspend/battery-charging suspend/led_after_suspend/battery-low - suspend/led_after_suspend/camera + after-suspend-manual-camera/led_.* suspend/led_after_suspend/caps-lock suspend/led_after_suspend/power suspend/led_after_suspend/touchpad +bootstrap_include: + device id: led-full unit: test plan |