OpenCloudOS-Kernel/tools/testing/selftests/memory-hotplug
Shuah Khan (Samsung OSG) e1890c502c 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>
2018-05-30 15:29:06 -06:00
..
Makefile selftests: memory-hotplug: delete RUN_TESTS and EMIT_TESTS overrides 2018-05-30 15:21:52 -06:00
config selftests: create test-specific kconfig fragments 2016-02-25 09:47:52 -07:00
mem-on-off-test.sh selftests: memory-hotplug: return Kselftest Skip code for skipped tests 2018-05-30 15:29:06 -06:00