Re: [PATCH v2 0/2] selftests/mm: clean up build output and verbosity

From: Nathan Chancellor

Date: Mon Apr 06 2026 - 15:32:31 EST


On Tue, Mar 31, 2026 at 05:44:00PM +0800, Li Wang wrote:
> Currently, the mm selftests build process can be quite 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:
> Andrew mentioned he hopes this patch merge into kbuild tree, so I resend
> to linux-kbuild@xxxxxxxxxxxxxxx.

Kbuild does not maintain anything in tools/, so this should go through
either the mm tree or the kselftests tree.

> 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(-)
>
> --
> 2.53.0
>