diff options
author | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-03 00:41:39 +0200 |
---|---|---|
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-30 23:21:52 +0200 |
commit | 67f721f942a83ddf492f9b72fd9c5ab148110e20 (patch) | |
tree | 23c36631c84a0f88fe0d5c2ae7f3463b2ecebb41 /Documentation/kernel-hacking | |
parent | selftests: breakpoints: return Kselftest Skip code for skipped tests (diff) | |
download | linux-67f721f942a83ddf492f9b72fd9c5ab148110e20.tar.xz linux-67f721f942a83ddf492f9b72fd9c5ab148110e20.zip |
selftests: cpu-hotplug: return Kselftest Skip code for skipped tests
When cpu-on-off-test is skipped because of unmet dependencies and/or
unsupported configuration, it returns 0 which is treated as a pass
by the Kselftest framework. This leads to false positive 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.
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>
Diffstat (limited to 'Documentation/kernel-hacking')
0 files changed, 0 insertions, 0 deletions