summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/media_tests
AgeCommit message (Collapse)Author
2016-07-26selftests: media_tests add a new video device testShuah Khan
Add a new video device test that opens user specified Video Device and calls video ioctls in a loop once every 10 seconds. This test is intended for testing device removal and driver unbind while an ioctl is active. Clean device removal and driver unbind is expected without any use-after-free and panics. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-06-27selftests: media_tests - Add media_device_open to .gitignoreShuah Khan
Add media_device_open to .gitignore Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-06-27selftests: add media controller regression test scripts and documentShuah Khan
Add regression test scripts open_loop_test.sh, and bind_unbind_sample.sh. Also add regression_test.txt that describes the regression test procedure. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-06-27selftests: add media_device_open testShuah Khan
Add a new media test to open, run ioctl, and close the media device file. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-06-27selftests: media_device_test change it to randomize loop countShuah Khan
Change it to randomize the loop count instead of hardcoded number of times ioctl is called. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-02-25selftests: media_dcevice_test fix usage informationShuah Khan
Fix the incorrect usage information. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-02-25selftests: media_dcevice_test fix to handle ioctl failure caseShuah Khan
Fix to print information returned by ioctl only when it returns success. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-02-25selftests: add a new test for Media Controller APIShuah Khan
This test opens user specified Media Device and calls MEDIA_IOC_DEVICE_INFO ioctl in a loop once every 10 seconds. This test is for detecting errors in device removal path. Usage: sudo ./media_device_test -d /dev/mediaX While test is running, remove the device and ensure there are no use after free errors and other Oops in the dmesg. Enable KaSan kernel config option for use-after-free error detection. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>