blob: 2eb507f4f4e5a9e7556d2062ae6743eb083fd2c6 [file] [log] [blame]
Ilja Friedel21c4eb32013-03-27 11:56:29 -07001# 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 = "ihf|sabercrombie|marcheu@chromium.org"
6NAME = "graphics_per-build"
7PURPOSE = "Test graphics functionality."
Alex Miller39516202013-04-04 10:12:49 -07008CRITERIA = "All tests with SUITE=graphics_per-build should complete."
Ilja Friedel21c4eb32013-03-27 11:56:29 -07009
10TIME = "MEDIUM"
11TEST_CATEGORY = "Graphics"
12TEST_CLASS = "suite"
13TEST_TYPE = "Server"
14
15DOC = """
16This is the graphics test suite. It should consist of functional and stressful
17graphics tests. In general we don't want these tests to hang the system,
18although this may happen especially with piglit.
19
20Tests should be run in order of increasing likeness of hanging the system
21graphics_WebGLConformance 5 minutes
22
23The machine should reboot after finishing the suite or timing out.
24
25@param build: The name of the image to test.
26 Ex: x86-mario-release/R17-1412.33.0-a1-b29
27@param board: The board to test on. Ex: x86-mario
28@param pool: The pool of machines to utilize for scheduling. If pool=None
29 board is used.
30@param check_hosts: require appropriate live hosts to exist in the lab.
31@param SKIP_IMAGE: (optional) If present and True, don't re-image devices.
32"""
33
34import common
Alex Miller2229c9c2013-08-27 15:20:39 -070035from autotest_lib.server.cros import provision
Ilja Friedel21c4eb32013-03-27 11:56:29 -070036from autotest_lib.server.cros.dynamic_suite import dynamic_suite
37
38dynamic_suite.reimage_and_run(
Alex Miller39516202013-04-04 10:12:49 -070039 build=build, board=board, name='graphics_per-build', job=job, pool=pool,
Ilja Friedel21c4eb32013-03-27 11:56:29 -070040 check_hosts=check_hosts, add_experimental=True, num=num,
Alex Miller1c2bf692013-09-07 15:48:25 -070041 file_bugs=file_bugs, priority=priority, timeout=timeout,
Alex Miller2229c9c2013-08-27 15:20:39 -070042 max_runtime_mins=60, devserver_url=devserver_url,
43 version_prefix=provision.CROS_VERSION_PREFIX)