diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-01-16 11:59:49 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2015-01-16 12:24:47 +0530 |
commit | af5c563efd3c5b8298ffd3d9da91e220a4151ebe (patch) | |
tree | fd848a80a9018837d7b734a7c9f7647925f0c66f /runme.sh | |
parent | 13e176f3b5a8b25bbe05cc9f28c4e8336fcb2440 (diff) |
cpufreq tests
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'runme.sh')
-rwxr-xr-x | runme.sh | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -11,7 +11,7 @@ source special-tests.sh FUNC=basic # do basic tests by default # Check validity of arguments -USAGE="Usage: $0 [-h] [-odgf args]\n\t[-h <help>]\n\t[-o <output-file-for-dump>]\n\t[-d <driver's module name: only with -f=modtest>] \n\t[-g <governor's module name: only with -f=modtest>] \n\t[-f <basic: cpufreq_basic_tests, sp1: governor_race, sp2: simple_lockdep, sp3: hotplug_with_updates, modtest: driver as module>]\n" +USAGE="Usage: $0 [-h] [-odgf args]\n\t[-h <help>]\n\t[-o <output-file-for-dump>]\n\t[-d <driver's module name: only with -f=modtest>] \n\t[-g <governor's module name: only with -f=modtest>] \n\t[-f <basic: cpufreq_basic_tests, suspend, hibernate, sp1: governor_race, sp2: simple_lockdep, sp3: hotplug_with_updates, modtest: driver as module>]\n" # Parse arguments parse_arguments() @@ -64,6 +64,14 @@ __run_func() cpufreq_basic_tests ;; + "suspend") + do_suspend "suspend" 2 + ;; + + "hibernate") + do_suspend "hibernate" 2 + ;; + "modtest") # Do we have modules in place? if [ -z $DRIVER_MOD ] && [ -z $GOVERNOR_MOD ]; then |