mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH for-next v3] selftests/cpufreq: gitignore output files and clean them in make clean
@ 2024-11-22  7:47 Li Zhijian
  2024-11-22  8:13 ` Viresh Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Li Zhijian @ 2024-11-22  7:47 UTC (permalink / raw)
  To: linux-kselftest
  Cc: shuah, linux-kernel, Li Zhijian, Rafael J. Wysocki, Viresh Kumar,
	linux-pm

After `make run_tests`, the git status complains:
Untracked files:
    (use "git add <file>..." to include in what will be committed)
        cpufreq/cpufreq_selftest.dmesg_cpufreq.txt
        cpufreq/cpufreq_selftest.dmesg_full.txt
        cpufreq/cpufreq_selftest.txt

Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
---
Cc: linux-pm@vger.kernel.org
---
Hello,
Cover letter is here.

This patch set aims to make 'git status' clear after 'make' and 'make
run_tests' for kselftests.
---
V3:
  add Copyright descirption
V2:
  split as a separate patch from a small one [0]
  [0] https://lore.kernel.org/linux-kselftest/20241015010817.453539-1-lizhijian@fujitsu.com/

Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
---
 tools/testing/selftests/cpufreq/.gitignore | 2 ++
 tools/testing/selftests/cpufreq/Makefile   | 1 +
 2 files changed, 3 insertions(+)
 create mode 100644 tools/testing/selftests/cpufreq/.gitignore

diff --git a/tools/testing/selftests/cpufreq/.gitignore b/tools/testing/selftests/cpufreq/.gitignore
new file mode 100644
index 000000000000..67604e91e068
--- /dev/null
+++ b/tools/testing/selftests/cpufreq/.gitignore
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0-only
+cpufreq_selftest.*
diff --git a/tools/testing/selftests/cpufreq/Makefile b/tools/testing/selftests/cpufreq/Makefile
index c86ca8342222..9b2ccb10b0cf 100644
--- a/tools/testing/selftests/cpufreq/Makefile
+++ b/tools/testing/selftests/cpufreq/Makefile
@@ -3,6 +3,7 @@ all:
 
 TEST_PROGS := main.sh
 TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh
+EXTRA_CLEAN := cpufreq_selftest.dmesg_cpufreq.txt cpufreq_selftest.dmesg_full.txt cpufreq_selftest.txt
 
 include ../lib.mk
 
-- 
2.44.0


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

* Re: [PATCH for-next v3] selftests/cpufreq: gitignore output files and clean them in make clean
  2024-11-22  7:47 [PATCH for-next v3] selftests/cpufreq: gitignore output files and clean them in make clean Li Zhijian
@ 2024-11-22  8:13 ` Viresh Kumar
  2024-12-10 17:08   ` Shuah Khan
  0 siblings, 1 reply; 3+ messages in thread
From: Viresh Kumar @ 2024-11-22  8:13 UTC (permalink / raw)
  To: Li Zhijian
  Cc: linux-kselftest, shuah, linux-kernel, Rafael J. Wysocki, linux-pm

On 22-11-24, 15:47, Li Zhijian wrote:
> After `make run_tests`, the git status complains:
> Untracked files:
>     (use "git add <file>..." to include in what will be committed)
>         cpufreq/cpufreq_selftest.dmesg_cpufreq.txt
>         cpufreq/cpufreq_selftest.dmesg_full.txt
>         cpufreq/cpufreq_selftest.txt
> 
> Cc: "Rafael J. Wysocki" <rafael@kernel.org>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: Shuah Khan <shuah@kernel.org>
> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

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

* Re: [PATCH for-next v3] selftests/cpufreq: gitignore output files and clean them in make clean
  2024-11-22  8:13 ` Viresh Kumar
@ 2024-12-10 17:08   ` Shuah Khan
  0 siblings, 0 replies; 3+ messages in thread
From: Shuah Khan @ 2024-12-10 17:08 UTC (permalink / raw)
  To: Viresh Kumar, Li Zhijian
  Cc: linux-kselftest, shuah, linux-kernel, Rafael J. Wysocki,
	linux-pm, Shuah Khan

On 11/22/24 01:13, Viresh Kumar wrote:
> On 22-11-24, 15:47, Li Zhijian wrote:
>> After `make run_tests`, the git status complains:
>> Untracked files:
>>      (use "git add <file>..." to include in what will be committed)
>>          cpufreq/cpufreq_selftest.dmesg_cpufreq.txt
>>          cpufreq/cpufreq_selftest.dmesg_full.txt
>>          cpufreq/cpufreq_selftest.txt
>>
>> Cc: "Rafael J. Wysocki" <rafael@kernel.org>
>> Cc: Viresh Kumar <viresh.kumar@linaro.org>
>> Cc: Shuah Khan <shuah@kernel.org>
>> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
> 
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
> 

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/?h=cpupower
for next pull request to Rafael.

thanks,
-- Shuah

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

end of thread, other threads:[~2024-12-10 17:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-22  7:47 [PATCH for-next v3] selftests/cpufreq: gitignore output files and clean them in make clean Li Zhijian
2024-11-22  8:13 ` Viresh Kumar
2024-12-10 17:08   ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®