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 = "Chrome OS Team" 6 NAME = "power_VideoSuspend" 7 ATTRIBUTES = "suite:kernel_per-build_regression, suite:video" 8 TIME = "SHORT" 9 TEST_CATEGORY = "Functional" 10 TEST_CLASS = "power" 11 TEST_TYPE = "client" 12 13 DOC = """ 14 Suspends the system with a video playing. 15 """ 16 17 videos = ['big_buck_bunny/big_buck_bunny_trailer_400p.mp4'] 18 base_url = 'http://commondatastorage.googleapis.com/chromeos-test-public/' 19 video_urls = [base_url + video for video in videos] 20 21 job.add_sysinfo_logfile('/sys/kernel/debug/suspend_stats', on_every_test=True) 22 job.run_test('power_VideoSuspend', video_urls=video_urls) 23