From d2b9dad7534593f3698d0c81bd87e938bb36c578 Mon Sep 17 00:00:00 2001 From: Taihsiang Ho Date: Wed, 11 May 2016 17:08:50 +0800 Subject: providers:checkbox: resurrect camera_test as camera_test_legacy to support Precise. use camera_test_legacy for precise only (LP:#1578136) --- jobs/camera.txt.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jobs/camera.txt.in b/jobs/camera.txt.in index bff0dc6..a937749 100644 --- a/jobs/camera.txt.in +++ b/jobs/camera.txt.in @@ -8,7 +8,7 @@ id: camera/detect estimated_duration: 1.2 requires: device.category == 'CAPTURE' -command: camera_test detect +command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy detect; else camera_test detect; fi _description: This Automated test attempts to detect a camera. plugin: user-interact-verify @@ -18,7 +18,7 @@ estimated_duration: 120.0 depends: camera/detect requires: device.category == 'CAPTURE' -command: camera_test display +command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy display; else camera_test display; fi _description: PURPOSE: This test will check that the built-in camera works @@ -37,7 +37,7 @@ requires: package.name == 'eog' package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' device.category == 'CAPTURE' -command: camera_test still +command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy still; else camera_test still; fi _description: PURPOSE: This test will check that the built-in camera works @@ -54,7 +54,7 @@ depends: camera/detect requires: package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-0.10' or package.name == 'gir1.2-gst-plugins-base-1.0' device.category == 'CAPTURE' -command: camera_test resolutions +command: if [ "`lsb_release -c | awk {'print $2'}`" == "precise" ]; then camera_test_legacy resolutions; else camera_test resolutions; fi _description: Takes multiple pictures based on the resolutions supported by the camera and validates their size and that they are of a valid format. -- cgit v1.2.3