1 # Copyright (c) 2015 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 = "hotrod" 7 PURPOSE = "Automated testing of hotrod." 8 CRITERIA = "All tests with SUITE=hotrod must pass." 9 10 TIME = "LONG" 11 TEST_CATEGORY = "Functional" 12 TEST_CLASS = "suite" 13 TEST_TYPE = "server" 14 15 DOC = """ 16 This suite runs the set of hotrod tests on various CFM devices in the lab. 17 """ 18 19 import common 20 from autotest_lib.server.cros import provision 21 from autotest_lib.server.cros.dynamic_suite import dynamic_suite 22 23 # Values specified in this bug template will override default values when 24 # filing bugs on tests that are a part of this suite. If left unspecified 25 # the bug filer will fallback to it's defaults. 26 _BUG_TEMPLATE = { 27 'labels': ['Proj-Hotrod', 'Hotrod-Auto-Bug'], 28 'owner': 'harpreet (a] chromium.org', 29 'status': None, 30 'summary': None, 31 'title': None, 32 'cc': ['dtosic (a] chromium.org', 'stevenh (a] chromium.org', 33 'vidster (a] chromium.org', 'jennyz (a] chromium.org'] 34 } 35 36 args_dict['name'] = 'hotrod' 37 args_dict['add_experimental'] = True 38 args_dict['bug_template'] = _BUG_TEMPLATE 39 args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX 40 args_dict['job'] = job 41 42 dynamic_suite.reimage_and_run(**args_dict) 43