Home | History | Annotate | Download | only in test_suites
      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 
      5 AUTHOR = "Harpreet Grewal <harpreet (a] chromium.org>"
      6 NAME = "powerplay"
      7 PURPOSE = "Suite for tests using powerplay to collect power data."
      8 TIME = "LONG"
      9 TEST_CATEGORY = "Performance"
     10 TEST_CLASS = "suite"
     11 TEST_TYPE = "Server"
     12 
     13 DOC = """
     14 This suite runs tests that capture power consumption data from ChromeOS devices
     15 using powerplay.
     16 """
     17 
     18 import common
     19 from autotest_lib.server.cros import provision
     20 from 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 (a] chromium.org',
     28     'status': None,
     29     'summary': None,
     30     'title': None,
     31     'cc': ['dchan (a] chromium.org']
     32 }
     33 
     34 args_dict['name'] = 'powerplay'
     35 args_dict['add_experimental'] = True
     36 args_dict['bug_template'] = _BUG_TEMPLATE
     37 args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
     38 args_dict['job'] = job
     39 
     40 dynamic_suite.reimage_and_run(**args_dict)
     41