Ben Chan | 93e8682 | 2013-12-16 11:35:16 -0800 | [diff] [blame] | 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." |
Ben Chan | 93e8682 | 2013-12-16 11:35:16 -0800 | [diff] [blame] | 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 |
Ben Chan | 93e8682 | 2013-12-16 11:35:16 -0800 | [diff] [blame] | 33 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 34 | |
| 35 | # Values specified in this bug template will override default values when |
| 36 | # filing bugs on tests that are a part of this suite. If left unspecified |
| 37 | # the bug filer will fallback to it's defaults. |
| 38 | _BUG_TEMPLATE = { |
Fang Deng | dc666e0 | 2016-05-11 15:03:07 -0700 | [diff] [blame] | 39 | 'components': ['OS>Systems>Mobile'], |
Ben Chan | 93e8682 | 2013-12-16 11:35:16 -0800 | [diff] [blame] | 40 | 'owner': 'benchan@chromium.org', |
| 41 | 'status': None, |
| 42 | 'summary': None, |
| 43 | 'title': None, |
Ben Chan | 14d040f | 2014-03-28 10:17:44 -0700 | [diff] [blame] | 44 | 'cc': ['agnescheng@chromium.org', 'alexpau@chromium.org'] |
Ben Chan | 93e8682 | 2013-12-16 11:35:16 -0800 | [diff] [blame] | 45 | } |
| 46 | |
| 47 | # TODO(benchan): Enable auto bug filing when the tests are stable and no longer |
| 48 | # marked as experimental. |
Shuqian Zhao | 24785cc | 2015-06-01 16:32:18 -0700 | [diff] [blame] | 49 | args_dict['add_experimental'] = True |
| 50 | args_dict['bug_template'] = _BUG_TEMPLATE |
Shuqian Zhao | 24785cc | 2015-06-01 16:32:18 -0700 | [diff] [blame] | 51 | args_dict['name'] = NAME |
| 52 | args_dict['job'] = job |
| 53 | |
| 54 | dynamic_suite.reimage_and_run(**args_dict) |