aboutsummaryrefslogtreecommitdiff
path: root/runme.sh
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-01-16 11:59:49 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2015-01-16 12:24:47 +0530
commitaf5c563efd3c5b8298ffd3d9da91e220a4151ebe (patch)
treefd848a80a9018837d7b734a7c9f7647925f0c66f /runme.sh
parent13e176f3b5a8b25bbe05cc9f28c4e8336fcb2440 (diff)
cpufreq tests
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'runme.sh')
-rwxr-xr-xrunme.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/runme.sh b/runme.sh
index 66f8ad0..bc1f598 100755
--- a/runme.sh
+++ b/runme.sh
@@ -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