linux/tools/testing/selftests/media_tests
Ivan Orlov e42bf3cfed selftests: media_tests: Add new subtest to video_device_test
Add new subtest to video_device_test to cover the VIDIOC_G_PRIORITY
and VIDIOC_S_PRIORITY ioctl calls. This test tries to set the priority
associated with the file descriptior via ioctl VIDIOC_S_PRIORITY
command from V4L2 API. After that, the test tries to get the new
priority via VIDIOC_G_PRIORITY ioctl command and compares the result
with the v4l2_priority it set before. At the end, the test restores the
old priority.

This test will increase the code coverage for video_device_test, so
I think it might be useful. Additionally, this patch will refactor the
video_device_test a little bit, according to the new functionality.

Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2023-06-12 16:39:10 -06:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
bind_unbind_sample.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile selftests: media_tests: Fix incorrect kernel headers search path 2023-02-13 09:09:45 -07:00
media_dev_allocator.sh media: selftests: media_dev_allocator api test 2019-04-22 11:23:14 -04:00
media_device_open.c selftests: media_tests: return Kselftest Skip code for skipped tests 2018-05-30 15:29:06 -06:00
media_device_test.c selftests: media_tests: return Kselftest Skip code for skipped tests 2018-05-30 15:29:06 -06:00
open_loop_test.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
regression_test.txt selftests: add media controller regression test scripts and document 2016-06-27 13:29:52 -06:00
video_device_test.c selftests: media_tests: Add new subtest to video_device_test 2023-06-12 16:39:10 -06:00