Linux Kernel Selftest development
 help / color / mirror / Atom feed
From: Shuah Khan <skhan@linuxfoundation.org>
To: Madhur Kumar <madhurkumar004@gmail.com>, shuah@kernel.org
Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org
Subject: Re: [PATCH 2/2] selftests/cachestat: add cleanup for leftover tmpshmcstat binary
Date: Thu, 25 Sep 2025 13:35:17 -0600	[thread overview]
Message-ID: <8f929b50-3b59-441c-8a6b-ba39ea9ad698@linuxfoundation.org> (raw)
In-Reply-To: <20250922091042.149117-2-madhurkumar004@gmail.com>

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 <madhurkumar004@gmail.com>
> ---
>   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	other threads:[~2025-09-25 19:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-22  9:10 [PATCH 1/2] selftests/acct: add cleanup for leftover process_log binary Madhur Kumar
2025-09-22  9:10 ` [PATCH 2/2] selftests/cachestat: add cleanup for leftover tmpshmcstat binary Madhur Kumar
2025-09-25 19:35   ` Shuah Khan [this message]
2025-09-24 23:24 ` [PATCH 1/2] selftests/acct: add cleanup for leftover process_log binary Shuah Khan
2025-09-25  7:46   ` Madhur Kumar
2025-09-25  8:34   ` [PATCH v2 " Madhur Kumar
2025-09-25 19:23     ` Shuah Khan
2025-09-26 21:26 ` [PATCH v3 " Madhur Kumar
2025-09-27 16:11 ` [PATCH v2 2/2] selftests/cachestat: add cleanup for leftover tmpshmcstat file Madhur Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8f929b50-3b59-441c-8a6b-ba39ea9ad698@linuxfoundation.org \
    --to=skhan@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=madhurkumar004@gmail.com \
    --cc=shuah@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox