diff options
author | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-04 22:49:47 +0300 |
---|---|---|
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-31 00:29:06 +0300 |
commit | e1890c502ca7f0bb13a7372dc8945f5e06832346 (patch) | |
tree | 3b264ea2c93f99a0241b7a83d7260523c889e1bc /tools/perf/scripts/python/stackcollapse.py | |
parent | b27f0259e8cea74c627327c063742a83613dd460 (diff) | |
download | linux-e1890c502ca7f0bb13a7372dc8945f5e06832346.tar.xz |
selftests: memory-hotplug: return Kselftest Skip code for skipped tests
When memory-hotplug test is skipped because of unmet dependencies and/or
unsupported configuration, it returns non-zero value hich 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.
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/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions