selftests: add missing gitignore files and include generated objects
v4 cover 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.
To: Shuah Khan <[email protected]>
To: SeongJae Park <[email protected]>
Changes in v4:
- damon: remove from the series to apply it in mm separately.
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- General: base on mm-unstable to avoid conflicts.
- damon: add missing Closes tag.
- Link to v2: https://lore.kernel.org/r/[email protected]
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/[email protected]
---
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,
Signature · 1 line
Javier Carrasco <[email protected]>
PATCH v4 1/3 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'.
--- tools/testing/selftests/uevent/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/uevent/.gitignore new file +1 -0
@@ -0,0 +1 @@ +uevent_filtering
Signature · 1 line
2.40.1
PATCH v4 2/3 selftests: thermal: intel: power_floor: add missing gitignore
In reply to Javier CarrascoThe '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'.
--- tools/testing/selftests/thermal/intel/power_floor/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/thermal/intel/power_floor/.gitignore new file +1 -0
@@ -0,0 +1 @@ +power_floor_test
Signature · 1 line
2.40.1
PATCH v4 3/3 selftests: thermal: intel: workload_hint: add missing gitignore
In reply to Javier CarrascoThe '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'.
--- tools/testing/selftests/thermal/intel/workload_hint/.gitignore | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/thermal/intel/workload_hint/.gitignore new file +1 -0
@@ -0,0 +1 @@ +workload_hint_test
Signature · 1 line
2.40.1
Quoted 39 lines · 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 <[email protected]>
To: SeongJae Park <[email protected]>Changes in v4:
- damon: remove from the series to apply it in mm separately.
- Link to v3: https://lore.kernel.org/r/[email protected]Changes in v3:
- General: base on mm-unstable to avoid conflicts.
- damon: add missing Closes tag.
- Link to v2: https://lore.kernel.org/r/[email protected]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/[email protected]---
Javier Carrasco (3):
selftests: uevent: add missing gitignore
selftests: thermal: intel:power_floor: add missing gitignore
selftests: thermal: intel:workload_hint: add missing gitignoretools/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(+)
Quoted 5 lines
---
base-commit:7e90b5c295ec1e47c8ad865429f046970c549a66
change-id: 20240101-selftest_gitignore-7da2c503766eBest regards,
Applied to next for Linux 6.9-rc1
thanks,
-- Shuah