| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| NAME = 'graphics_GLAPICheck' |
| AUTHOR = 'chromeos-gfx' |
| PURPOSE = 'Verify correctness of OpenGL/GLES.' |
| CRITERIA = """ |
| This test will fail if: |
| - GL version is less than 1.4 |
| - GL extension is less than 2 |
| - GLES version is less than 2 |
| - EGL version is less than 1.3 |
| - If GL extensions don't include needed extensions |
| """ |
| ATTRIBUTES = "suite:bvt-perbuild, suite:graphics, suite:graphics_per-day, suite:graphics_system, suite:hwqual" |
| TIME='SHORT' |
| TEST_CATEGORY = 'Performance' |
| TEST_CLASS = "graphics" |
| TEST_TYPE = 'client' |
| BUG_TEMPLATE = { |
| 'components': ['OS>Kernel>Graphics'], |
| } |
| |
| DOC = """ |
| This test will run some binary programs to extract various version strings from |
| OpenGL/GLES, and then parse those strings to compare with expected values. |
| """ |
| |
| job.run_test('graphics_GLAPICheck') |