]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: adopt BPF's approach to quieter builds
authorJakub Kicinski <kuba@kernel.org>
Thu, 11 Apr 2024 19:05:34 +0000 (12:05 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 18 Apr 2024 01:18:39 +0000 (18:18 -0700)
commit6fc6d7f59376c7cda4d866159b29fe96d96afe83
tree0f35dacc415ed7d9db743de4fee431c62adb7e6f
parent2bd99aef1b19e6da09eff692bc0a09d61d785782
selftests: adopt BPF's approach to quieter builds

selftest build is fairly noisy, it's easy to miss warnings.
It's standard practice to add alternative messages in
the Makefile. I was grepping for existing solutions,
and found that bpf already has the right knobs.

Move them to lib.mk and adopt in net.
Convert the basic rules in lib.mk.

Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/r/20240411190534.444918-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/lib.mk
tools/testing/selftests/net/Makefile