blob: d69ba51c0e40eae779abdf9fc628166805bcaaa6 [file] [log] [blame]
Scott Zawalskif22b75d2012-05-10 16:54:37 -04001# Copyright (c) 2012 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"
Mike Truty4e49d772012-05-16 17:04:12 -07006NAME = "kernel_weekly_regression"
Scott Zawalskif22b75d2012-05-10 16:54:37 -04007PURPOSE = "Test required functionality - longer running than bvt tests usually."
Mike Truty4e49d772012-05-16 17:04:12 -07008CRITERIA = "All tests with SUITE=kernel_weekly_regression must pass."
Scott Zawalskif22b75d2012-05-10 16:54:37 -04009
10TIME = "LONG"
11TEST_CATEGORY = "General"
12TEST_CLASS = "suite"
13TEST_TYPE = "Server"
14
15DOC = """
16This is the Kernel Weekly Regression Test suite. Failures in this test
17suite should not close the tree. It should consist of tests that are too long
18to run in the Kernel daily regression test suite.
19
20@param build: The name of the image to test.
21 Ex: x86-mario-release/R17-1412.33.0-a1-b29
22@param board: The board to test on. Ex: x86-mario
23@param pool: The pool of machines to utilize for scheduling. If pool=None
24 board is used.
25@param check_hosts: require appropriate live hosts to exist in the lab.
26@param SKIP_IMAGE: (optional) If present and True, don't re-image devices.
27"""
28
29import common
Alex Miller2229c9c2013-08-27 15:20:39 -070030from autotest_lib.server.cros import provision
Chris Masone304d78d2012-08-15 20:20:49 -070031from autotest_lib.server.cros.dynamic_suite import dynamic_suite
Scott Zawalskif22b75d2012-05-10 16:54:37 -040032
33dynamic_suite.reimage_and_run(
Mike Truty4e49d772012-05-16 17:04:12 -070034 build=build, board=board, name='kernel_weekly_regression', job=job,
Scott Zawalskic0cb0e42012-08-10 11:58:56 -040035 pool=pool, check_hosts=check_hosts, add_experimental=True, num=num,
Simran Basi07511372013-11-26 11:22:52 -080036 file_bugs=file_bugs, priority=priority, timeout_mins=timeout_mins,
Dan Shied823eb2013-11-19 13:11:49 -080037 devserver_url=devserver_url, version_prefix=provision.CROS_VERSION_PREFIX,
Fang Deng7c48ecb2015-01-06 11:08:32 -080038 wait_for_results=wait_for_results, job_retry=job_retry,
Simran Basi0669a342015-04-21 13:21:10 -070039 max_retries=max_retries)