Ilja H. Friedel | 5454749 | 2012-07-11 12:58:03 -0700 | [diff] [blame] | 1 | # 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 | |
| 5 | AUTHOR = "Chrome OS Team" |
| 6 | NAME = "graphicsGLES" |
| 7 | PURPOSE = "Test graphics functionality on ARM/GLES devices." |
| 8 | CRITERIA = "All tests with SUITE=graphicsGLES should complete and not hang." |
| 9 | |
| 10 | TIME = "LONG" |
| 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. For functionality contact |
| 19 | suite owners: ihf|sabercrombie|marcheu@chromium.org |
| 20 | |
| 21 | Tests should be run in order of increasing likeness of hanging the system |
| 22 | graphics_GLBench 5 minutes |
| 23 | |
| 24 | The machine should reboot after finishing the suite or timing out. |
| 25 | |
| 26 | @param build: The name of the image to test. |
| 27 | Ex: x86-mario-release/R17-1412.33.0-a1-b29 |
| 28 | @param board: The board to test on. Ex: x86-mario |
| 29 | @param pool: The pool of machines to utilize for scheduling. If pool=None |
| 30 | board is used. |
| 31 | @param check_hosts: require appropriate live hosts to exist in the lab. |
| 32 | @param SKIP_IMAGE: (optional) If present and True, don't re-image devices. |
| 33 | """ |
| 34 | |
| 35 | import common |
Chris Masone | 304d78d | 2012-08-15 20:20:49 -0700 | [diff] [blame] | 36 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
Ilja H. Friedel | 5454749 | 2012-07-11 12:58:03 -0700 | [diff] [blame] | 37 | |
| 38 | dynamic_suite.reimage_and_run( |
| 39 | build=build, board=board, name='graphicsGLES', job=job, pool=pool, |
Scott Zawalski | c0cb0e4 | 2012-08-10 11:58:56 -0400 | [diff] [blame] | 40 | check_hosts=check_hosts, add_experimental=True, num=num, |
Dan Shi | 0d8fcfa | 2013-06-10 12:50:16 -0700 | [diff] [blame^] | 41 | file_bugs=file_bugs, skip_reimage=dynamic_suite.skip_reimage(globals()), |
| 42 | devserver_url=devserver_url) |