Ilja Friedel | 21c4eb3 | 2013-03-27 11:56:29 -0700 | [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 = "ihf|sabercrombie|marcheu@chromium.org" |
| 6 | NAME = "graphics_per-build" |
| 7 | PURPOSE = "Test graphics functionality." |
Alex Miller | 3951620 | 2013-04-04 10:12:49 -0700 | [diff] [blame] | 8 | CRITERIA = "All tests with SUITE=graphics_per-build should complete." |
Ilja Friedel | 21c4eb3 | 2013-03-27 11:56:29 -0700 | [diff] [blame] | 9 | |
| 10 | TIME = "MEDIUM" |
| 11 | TEST_CATEGORY = "Graphics" |
| 12 | TEST_CLASS = "suite" |
| 13 | TEST_TYPE = "Server" |
| 14 | |
| 15 | DOC = """ |
| 16 | This is the graphics test suite. It should consist of functional and stressful |
| 17 | graphics tests. In general we don't want these tests to hang the system, |
| 18 | although this may happen especially with piglit. |
| 19 | |
| 20 | Tests should be run in order of increasing likeness of hanging the system |
| 21 | graphics_WebGLConformance 5 minutes |
| 22 | |
| 23 | The 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 | |
| 34 | import common |
| 35 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 36 | |
| 37 | dynamic_suite.reimage_and_run( |
Alex Miller | 3951620 | 2013-04-04 10:12:49 -0700 | [diff] [blame] | 38 | build=build, board=board, name='graphics_per-build', job=job, pool=pool, |
Ilja Friedel | 21c4eb3 | 2013-03-27 11:56:29 -0700 | [diff] [blame] | 39 | check_hosts=check_hosts, add_experimental=True, num=num, |
| 40 | file_bugs=file_bugs, skip_reimage=dynamic_suite.skip_reimage(globals())) |