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