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 5 AUTHOR = "spang, chromeos-kernel" 6 NAME = "power_IdleSuspend" 7 ATTRIBUTES = "suite:kernel_per-build_regression" 8 SUITE = "kernel_per-build_regression" 9 TIME = "SHORT" 10 TEST_CATEGORY = "Functional" 11 TEST_CLASS = "power" 12 TEST_TYPE = "client" 13 14 DOC = """ 15 Tests that powerd tries to suspend when the system is idle. 16 """ 17 18 job.add_sysinfo_logfile('/sys/kernel/debug/suspend_stats', on_every_test=True) 19 job.run_test('power_IdleSuspend') 20