blob: d39d69b9b91c55fd16147156f256744e02906a48 [file] [log] [blame]
# 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_GpuReset'
AUTHOR = 'The Chromium OS Authors'
PURPOSE = 'Reset the GPU and check recovery mechanism.'
CRITERIA = """
Detection of udev event notification of a GPU hang.
"""
SUITE = 'graphics'
TIME='MEDIUM'
TEST_CATEGORY = 'Functional'
TEST_CLASS = "gl"
TEST_TYPE = 'client'
DOC = """
The purpose of this test is to exercise the GPU failure path. We craft an
erroneous GPU command packet and send it to the GPU, and wait for a udev
event notifying us of a GPU hang. If the event doesn't come back, the test
fails.
This test must run with ui stopped.
"""
job.run_test('graphics_GpuReset')