aboutsummaryrefslogtreecommitdiff
path: root/runme.sh
diff options
context:
space:
mode:
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