You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
939 B
29 lines
939 B
# 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.
|
|
|
|
AUTHOR = "Chrome OS Team"
|
|
NAME = "power_CPUFreq"
|
|
PURPOSE = "Verify that supported CPU frequencies can be set."
|
|
CRITERIA = """
|
|
This test will fail under the following conditions:
|
|
- cpu frequencies are not supported
|
|
- no more than 1 frequency is supported
|
|
- if a supported frequency cannot be set
|
|
"""
|
|
ATTRIBUTES = "suite:power_build"
|
|
TIME = "SHORT"
|
|
TEST_CATEGORY = "Functional"
|
|
TEST_CLASS = "power"
|
|
TEST_TYPE = "client"
|
|
|
|
DOC = """
|
|
This test will read the supporting frequencies from the file
|
|
scaling_available_governors, and attempt to set the system to use each supported
|
|
frequency by writing to files scaling_max_freq, scaling_min_freq, and
|
|
scaling_setspeed. All files are located under:
|
|
/sys/devices/system/cpu/cpu*/cpufreq/
|
|
"""
|
|
|
|
job.run_test('power_CPUFreq')
|