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

Li Wang posted 2 patches 1 month, 3 weeks ago
tools/testing/selftests/mm/Makefile        | 9 ++++++---
tools/testing/selftests/mm/check_config.sh | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)
[PATCH v3 0/2] selftests/mm: clean up build output and verbosity
Posted by Li Wang 1 month, 3 weeks ago
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 <liwang@redhat.com>.
  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(-)

-- 
2.53.0
Re: [PATCH v3 0/2] selftests/mm: clean up build output and verbosity
Posted by David Hildenbrand (Arm) 1 month, 3 weeks ago
On 4/22/26 10:04, Li Wang wrote:
> 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 <liwang@redhat.com>.

:(

As a former RH'er, I'm deeply sorry for what has happened there, really.

Thank you for continuing to contribute upstream, highly appreciated!

-- 
Cheers,

David
Re: [PATCH v3 0/2] selftests/mm: clean up build output and verbosity
Posted by Li Wang 1 month, 2 weeks ago
David Hildenbrand (Arm) <david@kernel.org> wrote:

> On 4/22/26 10:04, Li Wang wrote:
> > 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 <liwang@redhat.com>.
>
> :(
>
> As a former RH'er, I'm deeply sorry for what has happened there, really.
>
> Thank you for continuing to contribute upstream, highly appreciated!

Thank you David, I got a new account from kernel org yesterday:

  li.wang@linux.dev

In the next, I hope to dedicate this email address to Linux and LTP
development work.

-- 
Regards,
Li Wang