2024-01-01 00:42:26

by Javier Carrasco

[permalink] [raw]
Subject: [PATCH 0/4] selftests: add missing gitignore files and include generated objects

This series aims to keep the git status clean after building the
selftests by adding some missing .gitignore files and object inclusion
in existing .gitignore files. This is one of the requirements listed in
the selftests documentation for new tests, but it is not always followed
as desired.

After adding these .gitignore files and including the generated objects,
the working tree appears clean again.

Signed-off-by: Javier Carrasco <[email protected]>
---
Javier Carrasco (4):
selftests: netfilter: add sctp_collision to gitignore
selftests: uevent: add missing gitignore
selftests: thermal: intel: power_floor: add missing gitignore
selftests: thermal: intel: workload_hint: add missing gitignore

tools/testing/selftests/netfilter/.gitignore | 1 +
tools/testing/selftests/thermal/intel/power_floor/.gitignore | 1 +
tools/testing/selftests/thermal/intel/workload_hint/.gitignore | 1 +
tools/testing/selftests/uevent/.gitignore | 1 +
4 files changed, 4 insertions(+)
---
base-commit: 610a9b8f49fbcf1100716370d3b5f6f884a2835a
change-id: 20240101-selftest_gitignore-7da2c503766e

Best regards,
--
Javier Carrasco <[email protected]>



2024-01-01 00:42:34

by Javier Carrasco

[permalink] [raw]
Subject: [PATCH 1/4] selftests: netfilter: add sctp_collision to gitignore

The commit 'cf791b22bef7 ("selftests: netfilter: test for sctp collision
processing in nf_conntrack") did not add the generated object to the
existing .gitignore for netfilter.

Add the missing object to the .gitignore file.

Signed-off-by: Javier Carrasco <[email protected]>
---
tools/testing/selftests/netfilter/.gitignore | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/netfilter/.gitignore b/tools/testing/selftests/netfilter/.gitignore
index 4b2928e1c19d..c535754dced2 100644
--- a/tools/testing/selftests/netfilter/.gitignore
+++ b/tools/testing/selftests/netfilter/.gitignore
@@ -2,3 +2,4 @@
nf-queue
connect_close
audit_logread
+sctp_collision

--
2.39.2


2024-01-01 00:51:09

by Javier Carrasco

[permalink] [raw]
Subject: [PATCH 4/4] selftests: thermal: intel: workload_hint: add missing gitignore

The 'workload_hint_test' test generates an object with the same name,
but there is no .gitignore file in the directory to add the object as
stated in the selftest documentation.

Add the missing .gitignore file and include 'workload_hint_test'.

Signed-off-by: Javier Carrasco <[email protected]>
---
tools/testing/selftests/thermal/intel/workload_hint/.gitignore | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/thermal/intel/workload_hint/.gitignore b/tools/testing/selftests/thermal/intel/workload_hint/.gitignore
new file mode 100644
index 000000000000..d697b034a3a8
--- /dev/null
+++ b/tools/testing/selftests/thermal/intel/workload_hint/.gitignore
@@ -0,0 +1 @@
+workload_hint_test

--
2.39.2


2024-01-01 00:51:25

by Javier Carrasco

[permalink] [raw]
Subject: [PATCH 3/4] selftests: thermal: intel: power_floor: add missing gitignore

The 'power_floor' test generates an object with the same name,
but there is no .gitignore file in the directory to add the object as
stated in the selftest documentation.

Add the missing .gitignore file and include 'power_floor'.

Signed-off-by: Javier Carrasco <[email protected]>
---
tools/testing/selftests/thermal/intel/power_floor/.gitignore | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/thermal/intel/power_floor/.gitignore b/tools/testing/selftests/thermal/intel/power_floor/.gitignore
new file mode 100644
index 000000000000..1b9a76406f18
--- /dev/null
+++ b/tools/testing/selftests/thermal/intel/power_floor/.gitignore
@@ -0,0 +1 @@
+power_floor_test

--
2.39.2


2024-01-01 00:51:25

by Javier Carrasco

[permalink] [raw]
Subject: [PATCH 2/4] selftests: uevent: add missing gitignore

The 'uevent_filtering' test generates an object with the same name,
but there is no .gitignore file in the directory to add the object
as stated in the selftest documentation.

Add the missing .gitignore file and include 'uevent_filtering'.

Signed-off-by: Javier Carrasco <[email protected]>
---
tools/testing/selftests/uevent/.gitignore | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/uevent/.gitignore b/tools/testing/selftests/uevent/.gitignore
new file mode 100644
index 000000000000..382afb74cd40
--- /dev/null
+++ b/tools/testing/selftests/uevent/.gitignore
@@ -0,0 +1 @@
+uevent_filtering

--
2.39.2


2024-01-26 11:10:40

by Javier Carrasco

[permalink] [raw]
Subject: Re: [PATCH 0/4] selftests: add missing gitignore files and include generated objects

On 01.01.24 01:41, Javier Carrasco wrote:
> This series aims to keep the git status clean after building the
> selftests by adding some missing .gitignore files and object inclusion
> in existing .gitignore files. This is one of the requirements listed in
> the selftests documentation for new tests, but it is not always followed
> as desired.
>
> After adding these .gitignore files and including the generated objects,
> the working tree appears clean again.
>
> Signed-off-by: Javier Carrasco <[email protected]>
> ---
> Javier Carrasco (4):
> selftests: netfilter: add sctp_collision to gitignore
> selftests: uevent: add missing gitignore
> selftests: thermal: intel: power_floor: add missing gitignore
> selftests: thermal: intel: workload_hint: add missing gitignore
>
> tools/testing/selftests/netfilter/.gitignore | 1 +
> tools/testing/selftests/thermal/intel/power_floor/.gitignore | 1 +
> tools/testing/selftests/thermal/intel/workload_hint/.gitignore | 1 +
> tools/testing/selftests/uevent/.gitignore | 1 +
> 4 files changed, 4 insertions(+)
> ---
> base-commit: 610a9b8f49fbcf1100716370d3b5f6f884a2835a
> change-id: 20240101-selftest_gitignore-7da2c503766e
>
> Best regards,

Gentle ping.

Best regards,
Javier Carrasco