1 # Copyright (c) 2013 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 = "Chrome OS Team" 6 NAME = "wimax" 7 PURPOSE = "Automated testing of WiMAX support on Chrome OS." 8 TIME = "SHORT" 9 TEST_CATEGORY = "Functional" 10 TEST_CLASS = "suite" 11 TEST_TYPE = "Server" 12 13 DOC = """ 14 Run automated tests on a DUT with a WiMAX module supported by Chrome OS to 15 verify the WiMAX support on Chrome OS: 16 - WiMAX kernel driver is present and loaded when a WiMAX module is detected 17 - WiMAX firmware is present and loaded onto the WiMAX module 18 - WiMAX manager is present and running, and is able to perform the expected 19 operations on the WiMAX module 20 - shill is built with WiMAX support and is able to interact with WiMAX manager 21 properly over DBus 22 23 @param build: The name of the image to test. 24 Ex: x86-mario-release/R17-1412.33.0-a1-b29 25 @param board: The board to test on. Ex: x86-mario 26 @param pool: The pool of machines to utilize for scheduling. If pool=None 27 board is used. 28 @param check_hosts: require appropriate live hosts to exist in the lab. 29 @param SKIP_IMAGE: (optional) If present and True, don't re-image devices. 30 """ 31 32 import common 33 from autotest_lib.server.cros import provision 34 from autotest_lib.server.cros.dynamic_suite import dynamic_suite 35 36 # Values specified in this bug template will override default values when 37 # filing bugs on tests that are a part of this suite. If left unspecified 38 # the bug filer will fallback to it's defaults. 39 _BUG_TEMPLATE = { 40 'components': ['OS>Systems>Mobile'], 41 'owner': 'benchan (a] chromium.org', 42 'status': None, 43 'summary': None, 44 'title': None, 45 'cc': ['agnescheng (a] chromium.org', 'alexpau (a] chromium.org'] 46 } 47 48 # TODO(benchan): Enable auto bug filing when the tests are stable and no longer 49 # marked as experimental. 50 args_dict['add_experimental'] = True 51 args_dict['bug_template'] = _BUG_TEMPLATE 52 args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX 53 args_dict['name'] = NAME 54 args_dict['job'] = job 55 56 dynamic_suite.reimage_and_run(**args_dict) 57