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.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': 'harpreet (a] chromium.org', 27 'status': None, 28 'summary': None, 29 'title': None, 30 'cc': ['dchan (a] chromium.org'] 31 } 32 33 args_dict['name'] = 'powerplay' 34 args_dict['add_experimental'] = True 35 args_dict['bug_template'] = _BUG_TEMPLATE 36 args_dict['job'] = job 37 38 dynamic_suite.reimage_and_run(**args_dict) 39