From cf516d543ae166e122ee849ff9219718eb4ab3be Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Tue, 25 Sep 2018 09:04:21 +0200 Subject: 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. --- units/led/jobs.pxu | 15 --------------- units/led/test-plan.pxu | 8 ++++++-- 2 files changed, 6 insertions(+), 17 deletions(-) (limited to 'units/led') 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 -- cgit v1.2.3