diff mbox series

selftests: Add missing gitignore entries

Message ID AS8P193MB1285C963658008F1B2702AF7E4792@AS8P193MB1285.EURP193.PROD.OUTLOOK.COM (mailing list archive)
State New
Headers show
Series selftests: Add missing gitignore entries | expand

Commit Message

Bernd Edlinger Jan. 26, 2024, 5:24 a.m. UTC
Prevent them from polluting git status after building selftests.

Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
---
 tools/testing/selftests/damon/.gitignore                       | 1 +
 tools/testing/selftests/thermal/intel/power_floor/.gitignore   | 2 ++
 tools/testing/selftests/thermal/intel/workload_hint/.gitignore | 2 ++
 tools/testing/selftests/uevent/.gitignore                      | 2 ++
 4 files changed, 7 insertions(+)
 create mode 100644 tools/testing/selftests/thermal/intel/power_floor/.gitignore
 create mode 100644 tools/testing/selftests/thermal/intel/workload_hint/.gitignore
 create mode 100644 tools/testing/selftests/uevent/.gitignore

Comments

SeongJae Park Jan. 26, 2024, 6:35 a.m. UTC | #1
Hi Bernd,

On Fri, 26 Jan 2024 06:24:34 +0100 Bernd Edlinger <bernd.edlinger@hotmail.de> wrote:

> Prevent them from polluting git status after building selftests.
> 
> Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
> ---
>  tools/testing/selftests/damon/.gitignore                       | 1 +
>  tools/testing/selftests/thermal/intel/power_floor/.gitignore   | 2 ++
>  tools/testing/selftests/thermal/intel/workload_hint/.gitignore | 2 ++
>  tools/testing/selftests/uevent/.gitignore                      | 2 ++
>  4 files changed, 7 insertions(+)
>  create mode 100644 tools/testing/selftests/thermal/intel/power_floor/.gitignore
>  create mode 100644 tools/testing/selftests/thermal/intel/workload_hint/.gitignore
>  create mode 100644 tools/testing/selftests/uevent/.gitignore
> 
> diff --git a/tools/testing/selftests/damon/.gitignore b/tools/testing/selftests/damon/.gitignore
> index c6c2965a6607..79b32e30fce3 100644
> --- a/tools/testing/selftests/damon/.gitignore
> +++ b/tools/testing/selftests/damon/.gitignore
> @@ -1,2 +1,3 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  huge_count_read_write
> +access_memory

For above damon part,

Reviewed-by: SeongJae Park <sj@kernel.org>

Thank you for finding and fixing it!


Thanks,
SJ

[...]
Javier Carrasco Feb. 8, 2024, 9:07 a.m. UTC | #2
On 26.01.24 06:24, Bernd Edlinger wrote:
> Prevent them from polluting git status after building selftests.
> 
> Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
> ---
>  tools/testing/selftests/damon/.gitignore                       | 1 +
>  tools/testing/selftests/thermal/intel/power_floor/.gitignore   | 2 ++
>  tools/testing/selftests/thermal/intel/workload_hint/.gitignore | 2 ++
>  tools/testing/selftests/uevent/.gitignore                      | 2 ++
>  4 files changed, 7 insertions(+)
>  create mode 100644 tools/testing/selftests/thermal/intel/power_floor/.gitignore
>  create mode 100644 tools/testing/selftests/thermal/intel/workload_hint/.gitignore
>  create mode 100644 tools/testing/selftests/uevent/.gitignore
> 
> diff --git a/tools/testing/selftests/damon/.gitignore b/tools/testing/selftests/damon/.gitignore
> index c6c2965a6607..79b32e30fce3 100644
> --- a/tools/testing/selftests/damon/.gitignore
> +++ b/tools/testing/selftests/damon/.gitignore
> @@ -1,2 +1,3 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  huge_count_read_write
> +access_memory
> 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..754810406b33
> --- /dev/null
> +++ b/tools/testing/selftests/thermal/intel/power_floor/.gitignore
> @@ -0,0 +1,2 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +power_floor_test
> 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..b5448c0576c9
> --- /dev/null
> +++ b/tools/testing/selftests/thermal/intel/workload_hint/.gitignore
> @@ -0,0 +1,2 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +workload_hint_test
> diff --git a/tools/testing/selftests/uevent/.gitignore b/tools/testing/selftests/uevent/.gitignore
> new file mode 100644
> index 000000000000..15127939d872
> --- /dev/null
> +++ b/tools/testing/selftests/uevent/.gitignore
> @@ -0,0 +1,2 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +uevent_filtering

Hi, there is already a series for this:

https://lore.kernel.org/linux-kselftest/20240101-selftest_gitignore-v1-0-eb61b09adb05@gmail.com/

which was sent longer than a month ago. That series still does not have

tools/testing/selftests/damon/.gitignore

and includes

tools/testing/selftests/netfilter/.gitignore

which is not required anymore.

tools/testing/selftests/thermal/intel/power_floor/.gitignore
tools/testing/selftests/thermal/intel/workload_hint/.gitignore
tools/testing/selftests/uevent/.gitignore

are still in the queue.

Best regards,
Javier Carrasco
diff mbox series

Patch

diff --git a/tools/testing/selftests/damon/.gitignore b/tools/testing/selftests/damon/.gitignore
index c6c2965a6607..79b32e30fce3 100644
--- a/tools/testing/selftests/damon/.gitignore
+++ b/tools/testing/selftests/damon/.gitignore
@@ -1,2 +1,3 @@ 
 # SPDX-License-Identifier: GPL-2.0-only
 huge_count_read_write
+access_memory
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..754810406b33
--- /dev/null
+++ b/tools/testing/selftests/thermal/intel/power_floor/.gitignore
@@ -0,0 +1,2 @@ 
+# SPDX-License-Identifier: GPL-2.0-only
+power_floor_test
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..b5448c0576c9
--- /dev/null
+++ b/tools/testing/selftests/thermal/intel/workload_hint/.gitignore
@@ -0,0 +1,2 @@ 
+# SPDX-License-Identifier: GPL-2.0-only
+workload_hint_test
diff --git a/tools/testing/selftests/uevent/.gitignore b/tools/testing/selftests/uevent/.gitignore
new file mode 100644
index 000000000000..15127939d872
--- /dev/null
+++ b/tools/testing/selftests/uevent/.gitignore
@@ -0,0 +1,2 @@ 
+# SPDX-License-Identifier: GPL-2.0-only
+uevent_filtering