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 NAME = 'graphics_GLAPICheck' 6 AUTHOR = 'chromeos-gfx' 7 PURPOSE = 'Verify correctness of OpenGL/GLES and X11 versions/extensions.' 8 CRITERIA = """ 9 This test will fail if: 10 - GL version is less than 1.4 11 - GL extension is less than 2 12 - GLES version is less than 2 13 - EGL version is less than 1.3 14 - If GL extensions don't include needed extensions 15 - If X extensions don't include DAMAGE and Composite 16 """ 17 ATTRIBUTES = "suite:bvt-cq, suite:graphics, suite:graphics_per-day, suite:graphics_system, suite:hwqual" 18 TIME='SHORT' 19 TEST_CATEGORY = 'Performance' 20 TEST_CLASS = "graphics" 21 TEST_TYPE = 'client' 22 JOB_RETRIES = 2 23 BUG_TEMPLATE = { 24 'components': ['OS>Kernel>Graphics'], 25 } 26 27 DOC = """ 28 This test will run some binary programs to extract various version strings from 29 OpenGL/GLES and X11, and then parse those strings to compare with expected 30 values. 31 """ 32 33 job.run_test('graphics_GLAPICheck') 34