xref: /aosp_15_r20/external/autotest/autotest_lib/test_suites/control.powerplay (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright 2016 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 = "Harpreet Grewal <[email protected]>"
6NAME = "powerplay"
7PURPOSE = "Suite for tests using powerplay to collect power data."
8TIME = "LONG"
9TEST_CATEGORY = "Performance"
10TEST_CLASS = "suite"
11TEST_TYPE = "Server"
12
13DOC = """
14This suite runs tests that capture power consumption data from ChromeOS devices
15using powerplay.
16"""
17
18import common
19from autotest_lib.server.cros.dynamic_suite import dynamic_suite
20
21# Values specified in this bug template will override default values when
22# filing bugs on tests that are a part of this suite. If left unspecified
23# the bug filer will fallback to it's defaults.
24_BUG_TEMPLATE = {
25    'labels': ['power', 'powerplay'],
26    'owner': '[email protected]',
27    'status': None,
28    'summary': None,
29    'title': None,
30    'cc': ['[email protected]']
31}
32
33args_dict['name'] = 'powerplay'
34args_dict['add_experimental'] = True
35args_dict['bug_template'] = _BUG_TEMPLATE
36args_dict['job'] = job
37
38dynamic_suite.reimage_and_run(**args_dict)
39