Skip to content

selftests/mm: clean up build output and verbosity

Li Wang linux-kselftest linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] selftests-mm-suppress-compiler-error-in-liburing-check.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 4 repliesApplied 2/2

Changes in v3 from the cover letter

- Nothing special but email change.

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2selftests/mm: respect build verbosity settings for 32/64-bit targetstools/testing/selftests/mm/Makefile+4 -21 replyApplied
2/2selftests/mm: suppress compiler error in liburing checktools/testing/selftests/mm/Makefile tools/testing/selftests/mm/check_config.sh+3 -21 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndrew MortonDavid Hildenbrand (Arm)
1/2T-b T-b A-b
2/2T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] selftests/mm: clean up build output and verbosity

Currently, the build process for the mm selftests is unnecessarily noisy.

First, it leaks raw compiler errors during the liburing feature probe if the headers are missing, which is confusing since the build system already handles this gracefully with a clear warning.

Second, the specific 32-bit and 64-bit compilation targets ignore the standard kbuild verbosity settings, always printing their full compiler commands even during a default quiet build.

Notes:
My email address has changed due to employment change. Previous Signed-off-by was with <[email protected]>. Resent it after -rc1, as requested by Andrew.

V3:
- Nothing special but email change.

V2:

- Drop 2/4, 3/4 from v1 to v2, since Andrew wasn't able to confirm the patch works for the rarely happening issue now, so I decided to just hand on the process of the parallel issue.

- Refine the 4/4 patch only to hide compiler errors when missing liburing.

Li Wang (2):
selftests/mm: respect build verbosity settings for 32/64-bit targets selftests/mm: suppress compiler error in liburing check

 tools/testing/selftests/mm/Makefile        | 9 ++++++---
 tools/testing/selftests/mm/check_config.sh | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)
Signature · 1 line
2.53.0