WSL2-Linux-Kernel/tools/testing/selftests/vm
Shuah Khan (Samsung OSG) a4d7537789 selftests: vm: return Kselftest Skip code for skipped tests
When vm 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.

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>
Acked-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
2018-06-18 09:11:10 -06:00
..
.gitignore selftests: vm: update .gitignore with new test 2018-02-26 16:09:50 -07:00
Makefile selftests/vm: move 128TB mmap boundary test to generic directory 2018-01-31 17:18:37 -08:00
compaction_test.c selftests: vm: return Kselftest Skip code for skipped tests 2018-06-18 09:11:10 -06:00
config selftests: vm: add CONFIG_SYSVIPC=y to the config fragment 2017-04-11 09:38:39 -06:00
gup_benchmark.c mm: add infrastructure for get_user_pages_fast() benchmarking 2017-11-17 16:10:04 -08:00
hugepage-mmap.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hugepage-shm.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
map_hugetlb.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mlock-random-test.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mlock2-tests.c selftests: vm: return Kselftest Skip code for skipped tests 2018-06-18 09:11:10 -06:00
mlock2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
on-fault-limit.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
run_vmtests selftests: vm: return Kselftest Skip code for skipped tests 2018-06-18 09:11:10 -06:00
thuge-gen.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
transhuge-stress.c selftests/vm/transhuge-stress: stress test for memory compaction 2014-10-09 22:26:01 -04:00
userfaultfd.c selftests: vm: return Kselftest Skip code for skipped tests 2018-06-18 09:11:10 -06:00
va_128TBswitch.c selftests/vm: move 128TB mmap boundary test to generic directory 2018-01-31 17:18:37 -08:00
virtual_address_range.c selftests/vm: Fix test for virtual address range mapping for arm64 2017-06-07 10:07:21 -06:00