aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/cpufreq
diff options
context:
space:
mode:
authorShuah Khan (Samsung OSG) <shuah@kernel.org>2018-05-02 16:41:39 -0600
committerShuah Khan (Samsung OSG) <shuah@kernel.org>2018-05-30 15:21:52 -0600
commit67f721f942a83ddf492f9b72fd9c5ab148110e20 (patch)
tree23c36631c84a0f88fe0d5c2ae7f3463b2ecebb41 /tools/testing/selftests/cpufreq
parentselftests: breakpoints: return Kselftest Skip code for skipped tests (diff)
downloadwireguard-linux-67f721f942a83ddf492f9b72fd9c5ab148110e20.tar.xz
wireguard-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 'tools/testing/selftests/cpufreq')
0 files changed, 0 insertions, 0 deletions