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_CameraSuspend" 7 TIME = "SHORT" 8 TEST_CATEGORY = "Functional" 9 TEST_CLASS = "power" 10 TEST_TYPE = "client" 11 12 DOC = """ 13 Suspend the system with the camera device open. 14 """ 15 16 capability='usb_camera' 17 job.add_sysinfo_logfile('/sys/kernel/debug/suspend_stats', on_every_test=True) 18 job.run_test('power_CameraSuspend', save_images=False, capability=capability) 19