Home | History | Annotate | Download | only in graphics_GpuReset
      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_GpuReset'
      6 AUTHOR = 'chromeos-gfx'
      7 PURPOSE = 'Reset the GPU and check recovery mechanism.'
      8 CRITERIA = """
      9 Detection of udev event notification of a GPU hang.
     10 """
     11 ATTRIBUTES = "suite:bvt-perbuild, suite:graphics, suite:graphics_per-day, suite:graphics_system"
     12 TIME='MEDIUM'
     13 TEST_CATEGORY = 'Functional'
     14 TEST_CLASS = "gl"
     15 TEST_TYPE = 'client'
     16 JOB_RETRIES = 2
     17 # Reboot in the lab after the test ends.
     18 DEPENDENCIES='cleanup-reboot'
     19 BUG_TEMPLATE = {
     20     'components': ['OS>Kernel>Graphics'],
     21 }
     22 
     23 DOC = """
     24 The purpose of this test is to exercise the GPU failure path. We craft an
     25 erroneous GPU command packet and send it to the GPU, and wait for a udev
     26 event notifying us of a GPU hang. If the event doesn't come back, the test
     27 fails.
     28 
     29 This test must run with ui stopped.
     30 """
     31 
     32 job.run_test('graphics_GpuReset')
     33