blob: 636481f547fdc317e531ee34b6dec055523eab43 [file] [log] [blame]
# 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
"""
SUITE = "hwqual"
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')