Forked from
tests / apertis-test-cases
625 commits behind the upstream repository.
-
Luis Araujo authored
Signed-off-by:
Luis Araujo <luis.araujo@collabora.co.uk>
Luis Araujo authoredSigned-off-by:
Luis Araujo <luis.araujo@collabora.co.uk>
tumbler-thumbnailing.yaml 1.63 KiB
metadata:
name: tumbler-thumbnailing
format: "Apertis Test Definition 1.0"
image-type: any
image-arch: any
type: functional
exec-type: automated
priority: medium
description: "Check that all thumbnailing features of tumbler are working
properly (large, small, videos, documents, images)."
maintainer: "Apertis Project"
pre-conditions:
- "# Ensure Rootfs is remounted as read/write."
- sudo mount -o remount,rw /
- "# Install dependencies"
- sudo apt install bash busybox dbus libglib2.0-bin procps tumbler
- "# Restart the system to restore the filesystem state to read-only before
running the test."
- sudo reboot
expected:
- "# The output should be similar to:"
- ">>> Running test 'test_image_normal_thumbnail_generation' ...
>>> Running test 'test_image_large_thumbnail_generation' ...
>>> Running test 'test_document_normal_thumbnail_generation' ...
>>> Running test 'test_document_large_thumbnail_generation' ...
>>> Running test 'test_video_normal_thumbnail_generation' ...
>>> Running test 'test_video_large_thumbnail_generation' ...
>>> All tests PASSED successfully!"
- "# If any test failed, they will be listed instead of the success message."
- ">>> The following tests FAILED:
[list of tests]"
install:
deps:
- bash
- busybox
- dbus
- libglib2.0-bin
- procps
- tumbler
run:
steps:
- common/run-test-in-systemd --timeout=900 --user=user --name=run-test env DEBUG=2 tumbler/automated/run-test.sh
parse:
pattern: ^(?P<test_case_id>[a-zA-Z0-9_\-\./]+):\s*(?P<result>pass|fail|skip|unknown)$