linux-sg2042/tools/testing/selftests/user
Shuah Khan (Samsung OSG) d7d5311d4a selftests: user: return Kselftest Skip code for skipped tests
When user 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. Add an explicit check
for module presence and return skip code if module isn't present.

Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.

Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
2018-06-18 09:11:09 -06:00
..
Makefile selftests: Introduce minimal shared logic for running tests 2015-03-13 15:13:40 -06:00
config selftests: create test-specific kconfig fragments 2016-02-25 09:47:52 -07:00
test_user_copy.sh selftests: user: return Kselftest Skip code for skipped tests 2018-06-18 09:11:09 -06:00