Linux-kselftest Archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] selftests: add missing gitignore files and include generated objects
@ 2024-02-14  0:03 Javier Carrasco
  2024-02-14  0:03 ` [PATCH v4 1/3] selftests: uevent: add missing gitignore Javier Carrasco
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Javier Carrasco @ 2024-02-14  0:03 UTC (permalink / raw
  To: Shuah Khan, SeongJae Park; +Cc: linux-kernel, linux-kselftest, Javier Carrasco

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.

To: Shuah Khan <shuah@kernel.org>
To: SeongJae Park <sj@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>

Changes in v4:
- damon: remove from the series to apply it in mm separately.
- Link to v3: https://lore.kernel.org/r/20240213-selftest_gitignore-v3-0-1f812368702b@gmail.com

Changes in v3:
- General: base on mm-unstable to avoid conflicts.
- damon: add missing Closes tag.
- Link to v2: https://lore.kernel.org/r/20240212-selftest_gitignore-v2-0-75f0de50a178@gmail.com

Changes in v2:
- Remove patch for netfilter (not relevant anymore).
- Add patch for damon (missing binary in .gitignore).
- Link to v1: https://lore.kernel.org/r/20240101-selftest_gitignore-v1-0-eb61b09adb05@gmail.com

---
Javier Carrasco (3):
      selftests: uevent: add missing gitignore
      selftests: thermal: intel: power_floor: add missing gitignore
      selftests: thermal: intel: workload_hint: add missing gitignore

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

Best regards,
-- 
Javier Carrasco <javier.carrasco.cruz@gmail.com>


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

* [PATCH v4 1/3] selftests: uevent: add missing gitignore
  2024-02-14  0:03 [PATCH v4 0/3] selftests: add missing gitignore files and include generated objects Javier Carrasco
@ 2024-02-14  0:03 ` Javier Carrasco
  2024-02-14  0:03 ` [PATCH v4 2/3] selftests: thermal: intel: power_floor: " Javier Carrasco
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Javier Carrasco @ 2024-02-14  0:03 UTC (permalink / raw
  To: Shuah Khan, SeongJae Park; +Cc: linux-kernel, linux-kselftest, Javier Carrasco

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 <javier.carrasco.cruz@gmail.com>
---
 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.40.1


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

* [PATCH v4 2/3] selftests: thermal: intel: power_floor: add missing gitignore
  2024-02-14  0:03 [PATCH v4 0/3] selftests: add missing gitignore files and include generated objects Javier Carrasco
  2024-02-14  0:03 ` [PATCH v4 1/3] selftests: uevent: add missing gitignore Javier Carrasco
@ 2024-02-14  0:03 ` Javier Carrasco
  2024-02-14  0:03 ` [PATCH v4 3/3] selftests: thermal: intel: workload_hint: " Javier Carrasco
  2024-02-20 23:31 ` [PATCH v4 0/3] selftests: add missing gitignore files and include generated objects Shuah Khan
  3 siblings, 0 replies; 5+ messages in thread
From: Javier Carrasco @ 2024-02-14  0:03 UTC (permalink / raw
  To: Shuah Khan, SeongJae Park; +Cc: linux-kernel, linux-kselftest, Javier Carrasco

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 <javier.carrasco.cruz@gmail.com>
---
 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.40.1


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

* [PATCH v4 3/3] selftests: thermal: intel: workload_hint: add missing gitignore
  2024-02-14  0:03 [PATCH v4 0/3] selftests: add missing gitignore files and include generated objects Javier Carrasco
  2024-02-14  0:03 ` [PATCH v4 1/3] selftests: uevent: add missing gitignore Javier Carrasco
  2024-02-14  0:03 ` [PATCH v4 2/3] selftests: thermal: intel: power_floor: " Javier Carrasco
@ 2024-02-14  0:03 ` Javier Carrasco
  2024-02-20 23:31 ` [PATCH v4 0/3] selftests: add missing gitignore files and include generated objects Shuah Khan
  3 siblings, 0 replies; 5+ messages in thread
From: Javier Carrasco @ 2024-02-14  0:03 UTC (permalink / raw
  To: Shuah Khan, SeongJae Park; +Cc: linux-kernel, linux-kselftest, Javier Carrasco

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 <javier.carrasco.cruz@gmail.com>
---
 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.40.1


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

* Re: [PATCH v4 0/3] selftests: add missing gitignore files and include generated objects
  2024-02-14  0:03 [PATCH v4 0/3] selftests: add missing gitignore files and include generated objects Javier Carrasco
                   ` (2 preceding siblings ...)
  2024-02-14  0:03 ` [PATCH v4 3/3] selftests: thermal: intel: workload_hint: " Javier Carrasco
@ 2024-02-20 23:31 ` Shuah Khan
  3 siblings, 0 replies; 5+ messages in thread
From: Shuah Khan @ 2024-02-20 23:31 UTC (permalink / raw
  To: Javier Carrasco, Shuah Khan, SeongJae Park
  Cc: linux-kernel, linux-kselftest, Shuah Khan

On 2/13/24 17:03, 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.
> 
> To: Shuah Khan <shuah@kernel.org>
> To: SeongJae Park <sj@kernel.org>
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-kselftest@vger.kernel.org
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> 
> Changes in v4:
> - damon: remove from the series to apply it in mm separately.
> - Link to v3: https://lore.kernel.org/r/20240213-selftest_gitignore-v3-0-1f812368702b@gmail.com
> 
> Changes in v3:
> - General: base on mm-unstable to avoid conflicts.
> - damon: add missing Closes tag.
> - Link to v2: https://lore.kernel.org/r/20240212-selftest_gitignore-v2-0-75f0de50a178@gmail.com
> 
> Changes in v2:
> - Remove patch for netfilter (not relevant anymore).
> - Add patch for damon (missing binary in .gitignore).
> - Link to v1: https://lore.kernel.org/r/20240101-selftest_gitignore-v1-0-eb61b09adb05@gmail.com
> 
> ---
> Javier Carrasco (3):
>        selftests: uevent: add missing gitignore
>        selftests: thermal: intel: power_floor: add missing gitignore
>        selftests: thermal: intel: workload_hint: add missing gitignore
> 
>   tools/testing/selftests/thermal/intel/power_floor/.gitignore   | 1 +
>   tools/testing/selftests/thermal/intel/workload_hint/.gitignore | 1 +
>   tools/testing/selftests/uevent/.gitignore                      | 1 +
>   3 files changed, 3 insertions(+)
> ---
> base-commit: 7e90b5c295ec1e47c8ad865429f046970c549a66
> change-id: 20240101-selftest_gitignore-7da2c503766e
> 
> Best regards,


Applied to next for Linux 6.9-rc1

thanks,
-- Shuah


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

end of thread, other threads:[~2024-02-20 23:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14  0:03 [PATCH v4 0/3] selftests: add missing gitignore files and include generated objects Javier Carrasco
2024-02-14  0:03 ` [PATCH v4 1/3] selftests: uevent: add missing gitignore Javier Carrasco
2024-02-14  0:03 ` [PATCH v4 2/3] selftests: thermal: intel: power_floor: " Javier Carrasco
2024-02-14  0:03 ` [PATCH v4 3/3] selftests: thermal: intel: workload_hint: " Javier Carrasco
2024-02-20 23:31 ` [PATCH v4 0/3] selftests: add missing gitignore files and include generated objects Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).