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 SUITE = 'bvt-cq, graphics_per-day, graphics, graphics_system, hwqual' 19 TIME='SHORT' 20 TEST_CATEGORY = 'Performance' 21 TEST_CLASS = "graphics" 22 TEST_TYPE = 'client' 23 JOB_RETRIES = 2 24 BUG_TEMPLATE = { 25 'labels': ['Cr-OS-Kernel-Graphics'], 26 } 27 28 DOC = """ 29 This test will run some binary programs to extract various version strings from 30 OpenGL/GLES and X11, and then parse those strings to compare with expected 31 values. 32 """ 33 34 job.run_test('graphics_GLAPICheck') 35