mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shuah Khan <skhan@linuxfoundation.org>
To: "Ricardo B. Marlière" <rbm@suse.com>,
	"Shuah Khan" <shuah@kernel.org>,
	"Nathan Chancellor" <nathan@kernel.org>,
	"Nicolas Schier" <nsc@kernel.org>
Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-kbuild@vger.kernel.org,
	Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH 6/6] kbuild: remove kselftest output in mrproper
Date: Fri, 10 Apr 2026 13:19:18 -0600	[thread overview]
Message-ID: <0db1075e-4273-4504-9c3e-1a9f35d37998@linuxfoundation.org> (raw)
In-Reply-To: <20260320-selftests-fixes-v1-6-79144f76be01@suse.com>

On 3/20/26 12:29, Ricardo B. Marlière wrote:
> Selftests built with O= store generated files by default under
> $(objtree)/kselftest. Those files are not removed by mrproper today, so
> stale generated artifacts can survive across builds and be reused
> unexpectedly.
> 
> Add kselftest to MRPROPER_FILES, so that the default kselftest output
> directory as part of mrproper target.

Does this change remove kselftest build objects in-tree builds?
It didn't for me - also there is kselftest directory under
tools/selftests that has several scripts.

Can you test this for in-tree builds - I would like this work
for both.

I dropped this from my next for now. This can go through kbuild
tree.

> 
> Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
> ---
>   Makefile | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/Makefile b/Makefile
> index c9b7bee102e8..91e6ec790a0f 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1662,6 +1662,7 @@ MRPROPER_FILES += include/config include/generated          \
>   		  debian snap tar-install PKGBUILD pacman \
>   		  .config .config.old .version \
>   		  Module.symvers \
> +		  kselftest \
>   		  certs/signing_key.pem \
>   		  certs/x509.genkey \
>   		  vmlinux-gdb.py \
> 

thanks,
-- Shuah

  reply	other threads:[~2026-04-10 19:19 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-20 18:29 [PATCH 0/6] selftests: run_kselftest.sh cleanup and fixes Ricardo B. Marlière
2026-03-20 18:29 ` [PATCH 1/6] selftests/run_kselftest.sh: Remove unused $ROOT Ricardo B. Marlière
2026-03-20 18:29 ` [PATCH 2/6] selftests/run_kselftest.sh: Add missing quotes Ricardo B. Marlière
2026-03-20 18:29 ` [PATCH 3/6] selftests/run_kselftest.sh: Resolve BASE_DIR with pwd -P Ricardo B. Marlière
2026-03-20 18:29 ` [PATCH 4/6] selftests/run_kselftest.sh: Allow choosing per-test log directory Ricardo B. Marlière
2026-03-20 18:29 ` [PATCH 5/6] selftests: Preserve subtarget failures in all/install Ricardo B. Marlière
2026-04-15 13:58   ` Mark Brown
2026-04-15 15:40     ` Shuah Khan
2026-04-15 15:42       ` Ricardo B. Marlière
2026-04-15 15:52         ` Shuah Khan
2026-04-15 15:53           ` Ricardo B. Marlière
2026-04-15 16:25       ` Mark Brown
2026-04-15 16:39         ` Shuah Khan
2026-04-16 13:16         ` Mark Brown
2026-04-16 15:08           ` Shuah Khan
2026-04-16 15:15             ` Mark Brown
2026-04-16 15:21               ` Shuah Khan
2026-04-16 21:15                 ` Shuah Khan
2026-04-17 10:36                   ` Mark Brown
2026-04-17 13:30                   ` Mark Brown
2026-04-17 17:27                     ` Shuah Khan
2026-03-20 18:29 ` [PATCH 6/6] kbuild: remove kselftest output in mrproper Ricardo B. Marlière
2026-04-10 19:19   ` Shuah Khan [this message]
2026-04-11 12:49     ` Ricardo B. Marlière
2026-04-13 15:58       ` Shuah Khan
2026-04-13 16:22         ` Ricardo B. Marlière
2026-03-31 22:43 ` [PATCH 0/6] selftests: run_kselftest.sh cleanup and fixes Shuah Khan
2026-04-01 11:45   ` Ricardo B. Marlière

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=0db1075e-4273-4504-9c3e-1a9f35d37998@linuxfoundation.org \
    --to=skhan@linuxfoundation.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=nathan@kernel.org \
    --cc=nsc@kernel.org \
    --cc=rbm@suse.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

all inboxes | Powered by JetHome®