| # 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_CPUIdle" |
| PURPOSE = "Ensure the processor drops into idle state when it is idle." |
| CRITERIA = "Fails if the cpu did not have any idle cycles during this test." |
| ATTRIBUTES = "suite:hwqual, suite:power_build" |
| TIME = "SHORT" |
| TEST_CATEGORY = "Functional" |
| TEST_CLASS = "power" |
| TEST_TYPE = "client" |
| |
| DOC = """ |
| This test will read values from /sys/devices/system/cpu/cpu*/cpuidle to |
| determine idle cycles. |
| """ |
| |
| job.run_test('power_CPUIdle') |