blob: 6b812a4cc79cee690e996a6a44bd991b6c5f42b9 [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "Chrome OS Team"
NAME = "power_FlashVideoSuspend"
ATTRIBUTES = "suite:bvt-perbuild"
TEST_CATEGORY = "Functional"
TEST_CLASS = "power"
TEST_TYPE = "client"
# This test has no actual dependency on servo. However, a common
# failure mode when there's a bug is that the DUT goes offline, and
# must be power cycled. Servo can do that automatically, so we
# restrict testing to devices that have a servo, to avoid needing
# manual repair.
DOC = """
Suspends the system with a Youtube video playing in HTML5 mode.
Checks that video is playing when DUT is resumed.
video_url = ""
job.add_sysinfo_logfile('/sys/kernel/debug/suspend_stats', on_every_test=True)
job.run_test('power_FlashVideoSuspend', video_url = video_url)