summaryrefslogtreecommitdiff
path: root/units/graphics
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2020-07-13 10:12:38 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2020-07-13 10:13:32 +0200
commit9c4d522b486126b2e4ffac91c7db2755787a333a (patch)
tree20f28cae368315dba864b3cb6efc28db25c6a40e /units/graphics
parent75ee239604b1c154b9fde5cbb930f4cc0ed3ad41 (diff)
bin:camera_test -> camera_test.py
Diffstat (limited to 'units/graphics')
-rw-r--r--units/graphics/jobs.pxu4
-rw-r--r--units/graphics/legacy.pxu4
2 files changed, 4 insertions, 4 deletions
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