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