summaryrefslogtreecommitdiff
path: root/units
diff options
Diffstat (limited to 'units')
-rw-r--r--units/camera/jobs.pxu10
-rw-r--r--units/graphics/jobs.pxu4
-rw-r--r--units/graphics/legacy.pxu4
-rw-r--r--units/suspend/suspend.pxu2
4 files changed, 10 insertions, 10 deletions
diff --git a/units/camera/jobs.pxu b/units/camera/jobs.pxu
index 1a3f807..045b062 100644
--- a/units/camera/jobs.pxu
+++ b/units/camera/jobs.pxu
@@ -5,7 +5,7 @@ estimated_duration: 1.2
requires:
device.category == 'CAPTURE'
command:
- camera_test detect
+ camera_test.py detect
_summary: This Automated test attempts to detect a camera.
user: root
@@ -32,7 +32,7 @@ _summary: Webcam video display test for {product_slug}
estimated_duration: 120.0
depends: camera/detect
command:
- camera_test display -d /dev/{name}
+ camera_test.py display -d /dev/{name}
_description:
PURPOSE:
This test will check that the {product_slug} camera works
@@ -52,7 +52,7 @@ _summary: Webcam LED test for {product_slug}
estimated_duration: 120.0
depends: camera/detect
command:
- camera_test led -d /dev/{name}
+ camera_test.py led -d /dev/{name}
_description:
PURPOSE:
This test will check that the {product_slug} camera LED works
@@ -84,7 +84,7 @@ requires:
package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-1.0'
{% endif -%}
command:
- camera_test still -d /dev/{{ name }}
+ camera_test.py still -d /dev/{{ name }}
_description:
PURPOSE:
This test will check that the {{ product_slug }} works
@@ -111,7 +111,7 @@ requires:
package.name == 'fswebcam' or package.name == 'gir1.2-gst-plugins-base-1.0'
{% endif -%}
command:
- camera_test resolutions -d /dev/{{ name }}
+ camera_test.py resolutions -d /dev/{{ name }}
_description:
Takes multiple pictures based on the resolutions supported by the camera and
validates their size and that they are of a valid format.
diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu
index fdb2897..18dd1df 100644
--- a/units/graphics/jobs.pxu
+++ b/units/graphics/jobs.pxu
@@ -373,7 +373,7 @@ plugin: shell
category_id: com.canonical.plainbox::graphics
id: graphics/{index}_screenshot_{product_slug}
requires: package.name == 'fswebcam'
-command: set -o pipefail; camera_test still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_{index}.jpg -q 2>&1 | ansi_parser.py
+command: set -o pipefail; camera_test.py still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_{index}.jpg -q 2>&1 | ansi_parser.py
_summary: Test grabbing a screenshot for {vendor} {product}
_description:
PURPOSE:
@@ -404,7 +404,7 @@ command:
gsettings set org.gnome.totem repeat true
totem --fullscreen $PLAINBOX_PROVIDER_DATA/video/Ogg_Theora_Video.ogv 2>/dev/null &
set -o pipefail
- sleep 15 && camera_test still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_fullscreen_video_{index}.jpg -q 2>&1 | ansi_parser.py
+ sleep 15 && camera_test.py still --device=/dev/external_webcam -f $PLAINBOX_SESSION_SHARE/screenshot_fullscreen_video_{index}.jpg -q 2>&1 | ansi_parser.py
sleep 5 && pkill totem
gsettings set org.gnome.totem repeat false
_summary: Test FSV screenshot for {vendor} {product}
diff --git a/units/graphics/legacy.pxu b/units/graphics/legacy.pxu
index 07bedd7..c7a403b 100644
--- a/units/graphics/legacy.pxu
+++ b/units/graphics/legacy.pxu
@@ -218,7 +218,7 @@ plugin: shell
category_id: com.canonical.plainbox::graphics
id: graphics/screenshot
requires: package.name == 'fswebcam'
-command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot.jpg -q 2>&1 | ansi_parser.py
+command: set -o pipefail; camera_test.py still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot.jpg -q 2>&1 | ansi_parser.py
_summary: Test grabbing a screenshot
_description:
PURPOSE:
@@ -245,7 +245,7 @@ command:
gsettings set org.gnome.totem repeat true
totem --fullscreen ${PLAINBOX_PROVIDER_DATA}/video/Ogg_Theora_Video.ogv 2>/dev/null &
set -o pipefail
- sleep 15 && camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_fullscreen_video.jpg -q 2>&1 | ansi_parser.py
+ sleep 15 && camera_test.py still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_fullscreen_video.jpg -q 2>&1 | ansi_parser.py
sleep 5 && totem --quit 2>/dev/null
gsettings set org.gnome.totem repeat false
_summary: Test FSV screenshot
diff --git a/units/suspend/suspend.pxu b/units/suspend/suspend.pxu
index ddcc670..3b45096 100644
--- a/units/suspend/suspend.pxu
+++ b/units/suspend/suspend.pxu
@@ -1223,7 +1223,7 @@ id: suspend/screenshot_after_suspend
estimated_duration: 10.0
depends: suspend/suspend_advanced_auto
requires: package.name == 'fswebcam'
-command: set -o pipefail; camera_test still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_after_suspend.jpg -q 2>&1 | ansi_parser.py
+command: set -o pipefail; camera_test.py still --device=/dev/external_webcam -f ${PLAINBOX_SESSION_SHARE}/screenshot_after_suspend.jpg -q 2>&1 | ansi_parser.py
_description:
PURPOSE:
Take a screengrab of the current screen after suspend (logged on Unity desktop)