Home | History | Annotate | Download | only in hardware_Fan
      1 # Copyright (c) 2011 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 = 'hardware_Fan'
      6 AUTHOR = 'The Chromium OS Authors'
      7 PURPOSE = 'Ensure the fan is working.'
      8 CRITERIA = 'Fails if the fan cannot be set to max speed or turned off.'
      9 TIME='SHORT'
     10 TEST_CATEGORY = 'Functional'
     11 TEST_CLASS = "hardware"
     12 TEST_TYPE = 'client'
     13 
     14 DOC = """
     15 This is a hardware test for system fan.  The test first sets the fan to max
     16 speed, turns off the fan, and then sets to 50% speed.  The test sleeps for a
     17 few seconds after setting the fan speed, which allows the fan some time to
     18 spin up/down and ensures the correctness of the test.  The test restores fan
     19 setting when finished.  This test uses mosys to read and control fan settings.
     20 """
     21 
     22 job.run_test('hardware_Fan')
     23