# Copyright (c) 2010 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.

AUTHOR = 'chromeos-gfx'
NAME = 'graphics_SanAngeles'
PURPOSE = 'Benchmark OpenGL object rendering.'
CRITERIA = 'This test is a benchmark. It will fail if it fails to complete.'
ATTRIBUTES = "suite:graphics, suite:graphics_per-day, suite:graphics_system"
SUITE = 'graphics_per-day, graphics, graphics_system'
TIME='FAST'
TEST_CATEGORY = 'Performance'
TEST_CLASS = "graphics"
TEST_TYPE = 'client'
# Reboot in the lab after the test ends.
DEPENDENCIES='cleanup-reboot'
BUG_TEMPLATE = {
    'labels': ['Cr-OS-Kernel-Graphics'],
}

DOC = """
This test runs the San Angeles Observation GPU benchmark. This benchmark uses
a minimal and portable framework to generate a small demo program. It exercises
basic features of OpenGL like vertex arrays, color arrays, and lighting. It
also uses objects generated using procedural algorithms.
"""

job.run_test('graphics_SanAngeles', creds=None)