Scott Zawalski | b88e86d | 2013-01-23 09:58:48 -0500 | [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 = "kjellander, phoglund, webrtc-cros-build" |
Scott Zawalski | a5bed3e | 2013-01-25 10:00:27 -0500 | [diff] [blame] | 6 | NAME = "WebRTC Suite" |
Scott Zawalski | b88e86d | 2013-01-23 09:58:48 -0500 | [diff] [blame] | 7 | TIME = "MEDIUM" |
| 8 | TEST_CATEGORY = "General" |
| 9 | TEST_CLASS = "suite" |
| 10 | TEST_TYPE = "Server" |
| 11 | |
| 12 | DOC = """ |
| 13 | WebRTC testing suite. |
| 14 | |
| 15 | @param build: The name of the image to test. |
| 16 | Ex: x86-mario-release/R17-1412.33.0-a1-b29 |
| 17 | @param board: The board to test on. Ex: x86-mario |
| 18 | @param pool: The pool of machines to utilize for scheduling. If pool=None |
| 19 | board is used. |
| 20 | @param check_hosts: require appropriate live hosts to exist in the lab. |
| 21 | @param SKIP_IMAGE: (optional) If present and True, don't re-image devices. |
| 22 | """ |
| 23 | |
| 24 | import common |
Alex Miller | 2229c9c | 2013-08-27 15:20:39 -0700 | [diff] [blame] | 25 | from autotest_lib.server.cros import provision |
Scott Zawalski | b88e86d | 2013-01-23 09:58:48 -0500 | [diff] [blame] | 26 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 27 | |
beeps | c8a875b | 2013-03-25 10:20:38 -0700 | [diff] [blame] | 28 | |
| 29 | # Values specified in this bug template will override default values when |
| 30 | # filing bugs on tests that are a part of this suite. If left unspecified |
| 31 | # the bug filer will fallback to it's defaults. |
| 32 | _BUG_TEMPLATE = { |
Henrik Kjellander | 6f805b0 | 2013-05-28 19:53:46 +0200 | [diff] [blame] | 33 | 'labels': ['Cr-Blink-WebRTC'], |
beeps | c8a875b | 2013-03-25 10:20:38 -0700 | [diff] [blame] | 34 | 'owner': '', |
| 35 | 'status': None, |
| 36 | 'summary': None, |
| 37 | 'title': None, |
beeps | 84e7bb4 | 2013-05-31 12:00:06 -0700 | [diff] [blame] | 38 | 'cc': ['webrtc-cros-build@google.com', |
| 39 | 'beeps@chromium.org'] |
beeps | c8a875b | 2013-03-25 10:20:38 -0700 | [diff] [blame] | 40 | } |
| 41 | |
Scott Zawalski | b88e86d | 2013-01-23 09:58:48 -0500 | [diff] [blame] | 42 | dynamic_suite.reimage_and_run( |
| 43 | build=build, board=board, name='webrtc', job=job, pool=pool, |
| 44 | check_hosts=check_hosts, add_experimental=True, num=num, |
Simran Basi | 0751137 | 2013-11-26 11:22:52 -0800 | [diff] [blame] | 45 | file_bugs=True, priority=priority, timeout_mins=timeout_mins, |
Alex Miller | 2229c9c | 2013-08-27 15:20:39 -0700 | [diff] [blame] | 46 | bug_template=_BUG_TEMPLATE, devserver_url=devserver_url, |
Dan Shi | ed823eb | 2013-11-19 13:11:49 -0800 | [diff] [blame] | 47 | version_prefix=provision.CROS_VERSION_PREFIX, |
Fang Deng | 70a9ead | 2014-05-16 16:57:39 -0700 | [diff] [blame] | 48 | wait_for_results=wait_for_results, job_retry=job_retry) |