Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH] .gitignore: Exclude KUnit config dot-files
@ 2023-03-30 11:27 Javier Martinez Canillas
  2023-03-30 11:33 ` Maíra Canal
  2023-03-30 15:34 ` Daniel Latypov
  0 siblings, 2 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2023-03-30 11:27 UTC (permalink / raw)
  To: linux-kernel
  Cc: Maíra Canal, linux-kselftest, David Gow, Maxime Ripard,
	Enric Balletbo i Serra, kunit-dev, Daniel Latypov,
	Brendan Higgins, Javier Martinez Canillas, Alex Gaynor,
	Andrew Davis, Kees Cook, Masahiro Yamada, Miguel Ojeda,
	Wedson Almeida Filho

There's a rule to ignore all the dot-files (.*) but we want to exclude the
config files used by KUnit (.kunitconfig) since those are usually added to
allow executing test suites without having to enable custom config symbols.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
---

 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 70ec6037fa7a..7f86e0837909 100644
--- a/.gitignore
+++ b/.gitignore
@@ -103,6 +103,7 @@ modules.order
 !.get_maintainer.ignore
 !.gitattributes
 !.gitignore
+!.kunitconfig
 !.mailmap
 !.rustfmt.toml
 

base-commit: ffe78bbd512166e0ef1cc4858010b128c510ed7d
-- 
2.40.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] .gitignore: Exclude KUnit config dot-files
  2023-03-30 11:27 [PATCH] .gitignore: Exclude KUnit config dot-files Javier Martinez Canillas
@ 2023-03-30 11:33 ` Maíra Canal
  2023-03-30 15:34 ` Daniel Latypov
  1 sibling, 0 replies; 4+ messages in thread
From: Maíra Canal @ 2023-03-30 11:33 UTC (permalink / raw)
  To: Javier Martinez Canillas, linux-kernel
  Cc: linux-kselftest, David Gow, Maxime Ripard, Enric Balletbo i Serra,
	kunit-dev, Daniel Latypov, Brendan Higgins, Alex Gaynor,
	Andrew Davis, Kees Cook, Masahiro Yamada, Miguel Ojeda,
	Wedson Almeida Filho

Hi Javier,

On 3/30/23 08:27, Javier Martinez Canillas wrote:
> There's a rule to ignore all the dot-files (.*) but we want to exclude the
> config files used by KUnit (.kunitconfig) since those are usually added to
> allow executing test suites without having to enable custom config symbols.
> 
> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>

This seems like a pretty nice improvement for the KUnit development.

Reviewed-by: Maíra Canal <mcanal@igalia.com>

Best Regards,
- Maíra Canal

> ---
> 
>   .gitignore | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/.gitignore b/.gitignore
> index 70ec6037fa7a..7f86e0837909 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -103,6 +103,7 @@ modules.order
>   !.get_maintainer.ignore
>   !.gitattributes
>   !.gitignore
> +!.kunitconfig
>   !.mailmap
>   !.rustfmt.toml
>   
> 
> base-commit: ffe78bbd512166e0ef1cc4858010b128c510ed7d

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] .gitignore: Exclude KUnit config dot-files
  2023-03-30 11:27 [PATCH] .gitignore: Exclude KUnit config dot-files Javier Martinez Canillas
  2023-03-30 11:33 ` Maíra Canal
@ 2023-03-30 15:34 ` Daniel Latypov
  2023-03-30 16:55   ` Javier Martinez Canillas
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel Latypov @ 2023-03-30 15:34 UTC (permalink / raw)
  To: Javier Martinez Canillas
  Cc: linux-kernel, Maíra Canal, linux-kselftest, David Gow,
	Maxime Ripard, Enric Balletbo i Serra, kunit-dev, Brendan Higgins,
	Alex Gaynor, Andrew Davis, Kees Cook, Masahiro Yamada,
	Miguel Ojeda, Wedson Almeida Filho, Andy Shevchenko

On Thu, Mar 30, 2023 at 4:27 AM Javier Martinez Canillas
<javierm@redhat.com> wrote:
>
> There's a rule to ignore all the dot-files (.*) but we want to exclude the
> config files used by KUnit (.kunitconfig) since those are usually added to
> allow executing test suites without having to enable custom config symbols.
>
> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>

FYI, Andy has a version of this patch from back in Jan here,
https://lore.kernel.org/linux-kselftest/20230127145708.12915-1-andriy.shevchenko@linux.intel.com/

I don't think anyone was adamantly opposed to it, but it's just been
sitting on the list waiting.

Daniel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] .gitignore: Exclude KUnit config dot-files
  2023-03-30 15:34 ` Daniel Latypov
@ 2023-03-30 16:55   ` Javier Martinez Canillas
  0 siblings, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2023-03-30 16:55 UTC (permalink / raw)
  To: Daniel Latypov
  Cc: linux-kernel, Maíra Canal, linux-kselftest, David Gow,
	Maxime Ripard, Enric Balletbo i Serra, kunit-dev, Brendan Higgins,
	Alex Gaynor, Andrew Davis, Kees Cook, Masahiro Yamada,
	Miguel Ojeda, Wedson Almeida Filho, Andy Shevchenko

Daniel Latypov <dlatypov@google.com> writes:

Hello Daniel,

> On Thu, Mar 30, 2023 at 4:27 AM Javier Martinez Canillas
> <javierm@redhat.com> wrote:
>>
>> There's a rule to ignore all the dot-files (.*) but we want to exclude the
>> config files used by KUnit (.kunitconfig) since those are usually added to
>> allow executing test suites without having to enable custom config symbols.
>>
>> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
>
> FYI, Andy has a version of this patch from back in Jan here,
> https://lore.kernel.org/linux-kselftest/20230127145708.12915-1-andriy.shevchenko@linux.intel.com/
>
> I don't think anyone was adamantly opposed to it, but it's just been
> sitting on the list waiting.
>

Thanks. I missed that there was a patch posted already by Andy.

Masahiro-san,

Could you please pick that? It would not only facilitate adding new KUnit
test suites but also avoid existing reports sent by the kernel robot, i.e:

https://lore.kernel.org/linux-input/CAGS_qxot1_+J3YCykkk0H1fZM6Cn6Pv4SFT6iCf9J7td1aH9HQ@mail.gmail.com/T/#mfcce95444b2df1c8242b03b7434e7730a6087663

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-30 16:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-30 11:27 [PATCH] .gitignore: Exclude KUnit config dot-files Javier Martinez Canillas
2023-03-30 11:33 ` Maíra Canal
2023-03-30 15:34 ` Daniel Latypov
2023-03-30 16:55   ` Javier Martinez Canillas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox