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 5AUTHOR = "Chrome OS Team" 6NAME = "wimax" 7PURPOSE = "Automated testing of WiMAX support on Chrome OS." 8TIME = "SHORT" 9TEST_CATEGORY = "Functional" 10TEST_CLASS = "suite" 11TEST_TYPE = "Server" 12 13DOC = """ 14Run automated tests on a DUT with a WiMAX module supported by Chrome OS to 15verify 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 32import common 33from autotest_lib.server.cros import provision 34from 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@chromium.org', 42 'status': None, 43 'summary': None, 44 'title': None, 45 'cc': ['agnescheng@chromium.org', 'alexpau@chromium.org'] 46} 47 48# TODO(benchan): Enable auto bug filing when the tests are stable and no longer 49# marked as experimental. 50args_dict['add_experimental'] = True 51args_dict['bug_template'] = _BUG_TEMPLATE 52args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX 53args_dict['name'] = NAME 54args_dict['job'] = job 55 56dynamic_suite.reimage_and_run(**args_dict) 57