Home
last modified time | relevance | path

Searched hist:"113812868 c40c5bb09b0e2cc7d168dee5649952f" (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/media_tests/
H A Dmedia_device_open.cdiff 113812868c40c5bb09b0e2cc7d168dee5649952f Fri May 04 20:06:46 CEST 2018 Shuah Khan (Samsung OSG) <shuah@kernel.org> selftests: media_tests: return Kselftest Skip code for skipped tests

When media_tests test is skipped because of unmet dependencies and/or
unsupported configuration, it exits with error which is treated as a
fail by the Kselftest framework. This leads to false negative result
even when the test could not be run.

Change it to return kselftest skip code when a test gets skipped to
clearly report that the test could not be run.

Change it to use ksft_exit_skip() when the test is skipped.

Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
H A Dmedia_device_test.cdiff 113812868c40c5bb09b0e2cc7d168dee5649952f Fri May 04 20:06:46 CEST 2018 Shuah Khan (Samsung OSG) <shuah@kernel.org> selftests: media_tests: return Kselftest Skip code for skipped tests

When media_tests test is skipped because of unmet dependencies and/or
unsupported configuration, it exits with error which is treated as a
fail by the Kselftest framework. This leads to false negative result
even when the test could not be run.

Change it to return kselftest skip code when a test gets skipped to
clearly report that the test could not be run.

Change it to use ksft_exit_skip() when the test is skipped.

Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
H A DMakefilediff 113812868c40c5bb09b0e2cc7d168dee5649952f Fri May 04 20:06:46 CEST 2018 Shuah Khan (Samsung OSG) <shuah@kernel.org> selftests: media_tests: return Kselftest Skip code for skipped tests

When media_tests test is skipped because of unmet dependencies and/or
unsupported configuration, it exits with error which is treated as a
fail by the Kselftest framework. This leads to false negative result
even when the test could not be run.

Change it to return kselftest skip code when a test gets skipped to
clearly report that the test could not be run.

Change it to use ksft_exit_skip() when the test is skipped.

Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>