]> Gentwo Git Trees - linux/.git/commit
selftests: Warn about skipped tests in result summary
authorLaura Nao <laura.nao@collabora.com>
Tue, 26 Nov 2024 09:37:10 +0000 (10:37 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 15 Jan 2025 00:06:31 +0000 (17:06 -0700)
commit74864403c578d9caa92fb9b2743a4b7aa5240e44
tree8f3161528ac37ffea6f0b930b58aefc160bd9315
parente8731ecdd67d3d32a2e15a1eea66cfb1e4a5871a
selftests: Warn about skipped tests in result summary

Update the functions that print the test totals at the end of a selftest
to include a warning message when skipped tests are detected. The
message advises users that skipped tests may indicate missing
configuration options and suggests enabling them to improve coverage.

Link: https://lore.kernel.org/r/20241126093710.13314-1-laura.nao@collabora.com
Signed-off-by: Laura Nao <laura.nao@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/kselftest.h
tools/testing/selftests/kselftest/ksft.py
tools/testing/selftests/kselftest/ktap_helpers.sh