blob: e5c8396e388df4f0f7b894f7d6055f7d689ba91d [file] [log] [blame]
harpreet23309882016-10-19 12:06:43 -07001# 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 <harpreet@chromium.org>"
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 import provision
20from autotest_lib.server.cros.dynamic_suite import dynamic_suite
21
22# Values specified in this bug template will override default values when
23# filing bugs on tests that are a part of this suite. If left unspecified
24# the bug filer will fallback to it's defaults.
25_BUG_TEMPLATE = {
26 'labels': ['power', 'powerplay'],
27 'owner': 'harpreet@chromium.org',
28 'status': None,
29 'summary': None,
30 'title': None,
31 'cc': ['dchan@chromium.org']
32}
33
34args_dict['name'] = 'powerplay'
35args_dict['add_experimental'] = True
harpreet23309882016-10-19 12:06:43 -070036args_dict['bug_template'] = _BUG_TEMPLATE
37args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
38args_dict['job'] = job
39
40dynamic_suite.reimage_and_run(**args_dict)