diff options
author | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-04 14:26:10 -0600 |
---|---|---|
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-30 15:29:06 -0600 |
commit | e6ee6ae4a170335d685571f38510505dd62cc6a4 (patch) | |
tree | b36dc2e7b58228e2acecbcf2fe204144db579e39 /lib/test_static_key_base.c | |
parent | e1890c502ca7f0bb13a7372dc8945f5e06832346 (diff) | |
download | blackbird-op-linux-e6ee6ae4a170335d685571f38510505dd62cc6a4.tar.gz blackbird-op-linux-e6ee6ae4a170335d685571f38510505dd62cc6a4.zip |
selftests: mqueue: return Kselftest Skip code for skipped tests
When mqueue 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>
Diffstat (limited to 'lib/test_static_key_base.c')
0 files changed, 0 insertions, 0 deletions