| # Copyright 2023 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "ChromeOS Team" |
| METADATA = { |
| "contacts": ["chromeos-pvs-eng@google.com"] |
| } |
| NAME = "power_cpd" |
| PURPOSE = "Measures power consumption using CPD." |
| |
| TIME = "MEDIUM" |
| TEST_CATEGORY = "General" |
| TEST_CLASS = "suite" |
| TEST_TYPE = "Server" |
| |
| DOC = """ |
| Run Tast tests that measure power using CPD. |
| |
| The tests are those within group:power with the 'power_cpd' sub-attribute. |
| """ |
| |
| import common |
| from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| |
| args_dict['add_experimental'] = True |
| args_dict['name'] = NAME |
| args_dict['job'] = job |
| |
| dynamic_suite.reimage_and_run(**args_dict) |