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