# 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 and X11 versions/extensions.' 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 - If X extensions don't include DAMAGE and Composite """ ATTRIBUTES = "suite:bvt-cq, suite:graphics, suite:graphics_per-day, suite:graphics_system, suite:hwqual" SUITE = 'bvt-cq, graphics_per-day, graphics, graphics_system, hwqual' TIME='SHORT' TEST_CATEGORY = 'Performance' TEST_CLASS = "graphics" TEST_TYPE = 'client' JOB_RETRIES = 2 BUG_TEMPLATE = { 'labels': ['Cr-OS-Kernel-Graphics'], } DOC = """ This test will run some binary programs to extract various version strings from OpenGL/GLES and X11, and then parse those strings to compare with expected values. """ job.run_test('graphics_GLAPICheck')