xref: /aosp_15_r20/external/autotest/server/site_tests/power_LW/control.power_VideoEncode (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright 2020 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "puthik"
6NAME = "power_LW.power_VideoEncode"
7TIME = "LONG"
8TEST_CATEGORY = "Benchmark"
9TEST_CLASS = "power"
10TEST_TYPE = "server"
11ATTRIBUTES = "suite:power_dashboard"
12PY_VERSION = 3
13
14DOC = """
15Control file for running power_VideoEncode in power lab.
16"""
17
18from autotest_lib.client.common_lib import utils
19
20args_dict = utils.args_to_dict(args)
21test = 'power_VideoEncode'
22args = {'pdash_note': args_dict.get('pdash_note', ''), 'seconds_period': 5}
23
24def run(machine):
25    host = hosts.create_host(machine)
26    job.run_test("power_LW", host=host, test=test, args=args,
27                 machine=machine, tag=NAME.split('.')[1])
28
29parallel_simple(run, machines)
30