OSDN Git Service

selftest: cpufreq: Add support to test cpufreq modules
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 13 Jan 2017 06:36:47 +0000 (12:06 +0530)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 19 Jan 2017 17:32:21 +0000 (10:32 -0700)
commit6751faf3d8338d525e8d9c35ae87cbfed48ce958
tree2f16d7690aa6794e30a97cf99756ba267d2a5658
parentb03eaf8dbac5534590ec52612f789d8fb292af9c
selftest: cpufreq: Add support to test cpufreq modules

This patch adds support for cpufreq modules like cpufreq drivers and
cpufreq governors. The tests will insert the modules in different orders
and them perform basic cpufreq tests. The modules are then removed from
the kernel.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/cpufreq/Makefile
tools/testing/selftests/cpufreq/main.sh
tools/testing/selftests/cpufreq/module.sh [new file with mode: 0755]