1
0
Fork 0
remarkable-linux/tools/testing/selftests/vm
Shuah Khan (Samsung OSG) a626c95346 selftests: vm: return Kselftest Skip code for skipped tests
[ Upstream commit a4d7537789 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-24 13:08:58 +02:00
..
.gitignore selftests/vm: add test for mlock() when areas are intersected 2016-10-07 18:46:28 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
compaction_test.c selftests: vm: return Kselftest Skip code for skipped tests 2018-08-24 13:08:58 +02:00
config selftests: vm: add CONFIG_SYSVIPC=y to the config fragment 2017-04-11 09:38:39 -06: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-08-24 13:08:58 +02: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-08-24 13:08:58 +02: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-08-24 13:08:58 +02:00
virtual_address_range.c selftests/vm: Fix test for virtual address range mapping for arm64 2017-06-07 10:07:21 -06:00