unplugged-system/external/autotest/client/site_tests/power_VideoEncode/control.FDO

25 lines
777 B
Plaintext
Raw Normal View History

AUTHOR = "puthik"
NAME = "power_VideoEncode.FDO"
PURPOSE = "Measure video encode power usage with optional force discharge."
CRITERIA = "This test is a benchmark."
TIME = "LONG"
TEST_CATEGORY = "Benchmark"
TEST_CLASS = "power"
TEST_TYPE = "client"
ATTRIBUTES = "suite:power_daily"
PY_VERSION = 3
DOC = """
This test records power related statistics while encode video file in various
formats while optionally force discharge.
"FDO" is short for "force discharge optional." Test will use EC command to
force DUT to discharge. If it fails, then use AC as the power source.
"""
args_dict = utils.args_to_dict(args)
pdash_note = args_dict.get('pdash_note', '')
job.run_test('power_VideoEncode', pdash_note=pdash_note, seconds_period=5,
force_discharge='optional')