From e66d5b673741cf6b7da250da9f84a165b1e4342d Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Fri, 13 Jan 2017 12:06:45 +0530 Subject: selftest: cpufreq: Add support for cpufreq tests This patch adds supports for basic cpufreq tests, which can be performed independent of any platform. It does basic tests for now, like - reading all cpufreq files - trying to update them - switching frequencies - switching governors This can be extended to have more specific tests later on. Signed-off-by: Viresh Kumar Signed-off-by: Shuah Khan --- tools/testing/selftests/cpufreq/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tools/testing/selftests/cpufreq/Makefile (limited to 'tools/testing/selftests/cpufreq/Makefile') diff --git a/tools/testing/selftests/cpufreq/Makefile b/tools/testing/selftests/cpufreq/Makefile new file mode 100644 index 000000000000..f5c6bb1965a1 --- /dev/null +++ b/tools/testing/selftests/cpufreq/Makefile @@ -0,0 +1,8 @@ +all: + +TEST_PROGS := main.sh +TEST_FILES := cpu.sh cpufreq.sh governor.sh + +include ../lib.mk + +clean: -- cgit