On 9/22/25 03:10, Madhur Kumar wrote:
Some kselftests generate temporary binaries that are not tracked
by TEST_GEN_PROGS. Add EXTRA_CLEAN entry to remove tmpshmcstat
during `make kselftest-clean`.

This isn't really accurate. tmpshmcstat is generated when when test
runs. Include this information in the change log and send new version
of this patch.


Signed-off-by: Madhur Kumar <[email protected]>
---
  tools/testing/selftests/cachestat/Makefile | 1 +
  1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/cachestat/Makefile 
b/tools/testing/selftests/cachestat/Makefile
index 778b54ebb036..c48065d791a9 100644
--- a/tools/testing/selftests/cachestat/Makefile
+++ b/tools/testing/selftests/cachestat/Makefile
@@ -1,5 +1,6 @@
  # SPDX-License-Identifier: GPL-2.0
  TEST_GEN_PROGS := test_cachestat
+EXTRA_CLEAN := tmpshmcstat
CFLAGS += $(KHDR_INCLUDES)
  CFLAGS += -Wall

thanks,
-- Shuah

Reply via email to