Message ID | 20241122074757.1583002-1-lizhijian@fujitsu.com (mailing list archive) |
---|---|
State | New |
Delegated to: | Shuah Khan |
Headers | show |
Series | [for-next,v3] selftests/cpufreq: gitignore output files and clean them in make clean | expand |
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>
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