tumbler-thumbnailing automated
medium
- Image Types:
- basesdk-amd64 / sdk-amd64
- Image Deployment:
- APT, OSTree
- Type:
- functional
Description
Check that all thumbnailing features of tumbler are working properly (large, small, videos, documents, images).
Pre Conditions
- Clone the tests repository from another computer (Note that the branch being tested may change depending on the release, please make sure to clone the correct branch for the release in question):
- Copy the test directory tumbler-thumbnailing to the target device:
- Log into the target device:
$ git clone --branch apertis/v2021pre https://gitlab.apertis.org/tests/tumbler-thumbnailing.git
$ DUT_IP=<device-ip>
$ scp -r tumbler-thumbnailing user@$DUT_IP:
$ ssh user@$DUT_IP
Execution Steps
- Enter test directory:
- Run the test script:
$ cd tumbler-thumbnailing
$ common/run-test-in-systemd --timeout=900 --user=user --name=run-test env DEBUG=2 ./run-test.sh
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]