These tests are for the power mangemenat QA. The test definitions are at:
https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts
Not all the boards have cpufreq enabled or totally implemented, so the test suite was checked against a multicore and multiprocessor x86 platform.
Daniel Lezcano (14): put in place the new framework add a simple program burning cycles add a nanosleep utility add script functions test the cpufreq framework is available for frequency test the cpufreq framework is available for governor test the governor change is effective test the change of the frequency is effective in 'userspace' mode test 'ondemand' and 'conservative' trigger correctly the configuration directory test the change of the frequencies affect the performances of a test program add a cpu burn utility test the load of the cpu affects the frequency with 'ondemand' test the load of the cpu does not affect the frequency with 'userspace' test the load of the cpu does not affect the frequency with 'powersave'
Makefile | 10 ++ cpufreq/Makefile | 38 ++++++++ cpufreq/test_01.sh | 32 +++++++ cpufreq/test_02.sh | 32 +++++++ cpufreq/test_03.sh | 51 ++++++++++ cpufreq/test_04.sh | 54 +++++++++++ cpufreq/test_05.sh | 73 +++++++++++++++ cpufreq/test_06.sh | 117 +++++++++++++++++++++++ cpufreq/test_07.sh | 91 ++++++++++++++++++ cpufreq/test_08.sh | 78 ++++++++++++++++ cpufreq/test_09.sh | 74 +++++++++++++++ include/functions.sh | 251 ++++++++++++++++++++++++++++++++++++++++++++++++++ utils/Makefile | 35 +++++++ utils/cpuburn.c | 91 ++++++++++++++++++ utils/cpucycle.c | 108 +++++++++++++++++++++ utils/nanosleep.c | 55 +++++++++++ 16 files changed, 1190 insertions(+), 0 deletions(-) create mode 100644 cpufreq/Makefile create mode 100644 cpufreq/test_01.sh create mode 100644 cpufreq/test_02.sh create mode 100644 cpufreq/test_03.sh create mode 100644 cpufreq/test_04.sh create mode 100644 cpufreq/test_05.sh create mode 100644 cpufreq/test_06.sh create mode 100644 cpufreq/test_07.sh create mode 100644 cpufreq/test_08.sh create mode 100644 cpufreq/test_09.sh create mode 100644 include/functions.sh create mode 100644 utils/Makefile create mode 100644 utils/cpuburn.c create mode 100644 utils/cpucycle.c create mode 100644 utils/nanosleep.c