• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5AUTHOR = "Chrome OS Team"
6NAME = "power_CPUFreq"
7PURPOSE = "Verify that supported CPU frequencies can be set."
8CRITERIA = """
9This test will fail under the following conditions:
10  - cpu frequencies are not supported
11  - no more than 1 frequency is supported
12  - if a supported frequency cannot be set
13"""
14ATTRIBUTES = "suite:hwqual, suite:power_build"
15TIME = "SHORT"
16TEST_CATEGORY = "Functional"
17TEST_CLASS = "power"
18TEST_TYPE = "client"
19
20DOC = """
21This test will read the supporting frequencies from the file
22scaling_available_governors, and attempt to set the system to use each supported
23frequency by writing to files scaling_max_freq, scaling_min_freq, and
24scaling_setspeed. All files are located under:
25  /sys/devices/system/cpu/cpu*/cpufreq/
26"""
27
28job.run_test('power_CPUFreq')
29