sensorctl: add options/features for usability
This patch supports the below options and features.
[SYNOPSIS]
- sensorctl test auto [--help] [--list] [--filter=<regex>]
[--verbose] [--shuffle] [--repeat]
[--output]
- sensorctl test <sensor_type>
[--interval=NUMBER] [--batch_latency=NUMBER] [--powersave=TYPE]
[--repeat=NUMBER] [--output=FILE_PATH] [--help] [--verbose]
[Options]
-f PATTERN, --filter=<PATTERN>
Run a subset of the tests for debugging or quickly verifying a
change. Sensorctl will only run the tests whose full names match the
filter. This can be used to specify multiple search patterns.
-l, --list
Prints the testcase list by following command.
-h, --help
Prints the synopsis and a list of the most commonly used commands.
-v, --verbose
Prints the log message fully while testcases are running.
-s, --shuffle
Run the testcase randomly.
-r NUMBER, --repeat=NUMBER
Run the testcase a given number of times.
Change-Id: I30dec0ef2896e12c956be294c2677cb785335ec0
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>