selftests: make kselftest-clean remove libynl outputs
authorGreg Thelen <gthelen@google.com>
Sat, 5 Oct 2024 21:56:00 +0000 (14:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Oct 2024 15:24:08 +0000 (08:24 -0700)
commit1fd9e4f257827d939cc627541f12fc4bdd979eb1
tree3e1bfded6184a0d794dff0277d54d58a62de3367
parentc0a30936dbf2f5a143e4afed02a14cddccc2674e
selftests: make kselftest-clean remove libynl outputs

Starting with 6.12 commit 85585b4bc8d8 ("selftests: add ncdevmem, netcat
for devmem TCP") kselftest-all creates additional outputs that
kselftest-clean does not cleanup:
  $ make defconfig
  $ make kselftest-all
  $ make kselftest-clean
  $ git clean -ndxf | grep tools/net
  Would remove tools/net/ynl/lib/__pycache__/
  Would remove tools/net/ynl/lib/ynl.a
  Would remove tools/net/ynl/lib/ynl.d
  Would remove tools/net/ynl/lib/ynl.o

Make kselftest-clean remove the newly added net/ynl outputs.

Fixes: 85585b4bc8d8 ("selftests: add ncdevmem, netcat for devmem TCP")
Signed-off-by: Greg Thelen <gthelen@google.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://patch.msgid.link/20241005215600.852260-1-gthelen@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/ynl.mk
This page took 0.060139 seconds and 4 git commands to generate.