• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2015 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 = "Chrome OS Team"
6NAME = "power_FlashVideoSuspend"
7ATTRIBUTES = "suite:bvt-perbuild"
8TIME = "SHORT"
9TEST_CATEGORY = "Functional"
10TEST_CLASS = "power"
11TEST_TYPE = "client"
12
13# This test has no actual dependency on servo.  However, a common
14# failure mode when there's a bug is that the DUT goes offline, and
15# must be power cycled.  Servo can do that automatically, so we
16# restrict testing to devices that have a servo, to avoid needing
17# manual repair.
18DEPENDENCIES = "servo"
19
20DOC = """
21Suspends the system with a Youtube video playing in HTML5 mode.
22
23Checks that video is playing when DUT is resumed.
24"""
25
26video_url = "http://www.youtube.com/embed/Lv-sY_z8MNs?enablejsapi=1"
27job.add_sysinfo_logfile('/sys/kernel/debug/suspend_stats', on_every_test=True)
28job.run_test('power_FlashVideoSuspend', video_url = video_url)
29