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