Skip to contentSkip to conversation

.gitignore: Exclude KUnit config dot-files

PATCH In review Javier Martinez Canillas 3 participants 4 messages Mar 30, 2023 Kselftest

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .gitignore: Exclude KUnit config dot-files

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.

---

 .gitignore | 1 +
 1 file changed, 1 insertion(+)
.gitignore +1 -0
index 70ec6037fa7a..7f86e0837909 100644
@@ -103,6 +103,7 @@ modules.order
 !.get_maintainer.ignore
 !.gitattributes
 !.gitignore
+!.kunitconfig
 !.mailmap
 !.rustfmt.toml
 

base-commit: ffe78bbd512166e0ef1cc4858010b128c510ed7d

Signature · 1 line
2.40.0
Reviewed-by on v1 1/1
#1 lore raw

Hi Javier,

Quoted 5 lines · Javier Martinez Canillas

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.

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

Best Regards,
- Maíra Canal

Quoted 19 lines

---

  .gitignore | 1 +
  1 file changed, 1 insertion(+)
.gitignore +1 -0
index 70ec6037fa7a..7f86e0837909 100644
@@ -103,6 +103,7 @@ modules.order
  !.get_maintainer.ignore
  !.gitattributes
  !.gitignore
+!.kunitconfig
  !.mailmap
  !.rustfmt.toml
 

base-commit: ffe78bbd512166e0ef1cc4858010b128c510ed7d

#2 lore raw
In reply to Javier Martinez Canillas
Quoted 6 lines · Javier Martinez Canillas

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.

FYI, Andy has a version of this patch from back in Jan here,
https://lore.kernel.org/linux-kselftest/[email protected]/

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

Daniel

#3 lore raw

Daniel Latypov <[email protected]> writes:

Hello Daniel,

Quoted 7 lines
Quoted 5 lines · Javier Martinez Canillas

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.

Quoted 8 lines
Quoted 1 line

FYI, Andy has a version of this patch from back in Jan here,
https://lore.kernel.org/linux-kselftest/[email protected]/

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

Signature · 5 lines
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat