Re: [PATCH 18/53] selftests/mm: uffd-unit-tests: use kselftest framework

Mark Brown
2026-04-07T12:58:21Z

[-- Attachment #1: Type: text/plain, Size: 446 bytes --]

On Mon, Apr 06, 2026 at 05:17:00PM +0300, Mike Rapoport wrote:

> static void uffd_test_skip(const char *message)
> {
> - printf("skipped [reason: %s]\n", message);
> - ksft_inc_xskip_cnt();
> + ksft_test_result_skip("%s (%s)\n", current_test, message);
> }

Parsers are just going to take the entire line after the test as an
otherwise unstructured test name so get confused here. The usual thing
is to print the reason as a separate print.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]