# Copyright 2016 The Chromium 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, chromeos-video@google.com"
NAME = "video_JpegDecodeAccelerator"
PURPOSE = "Verify Chromium hardware JPEG decode acceleration works."
CRITERIA = """
This test will fail if any of the tests in jpeg_decode_accelerator_unittest
fails. Running jpeg_decode_accelerator_unittest is skipped on machines that are
known not to support jpeg decode.
"""
ATTRIBUTES = "suite:bvt-perbuild"
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "video"
TEST_TYPE = "client"
JOB_RETRIES = 2
DEPENDENCIES = "hw_jpeg_acc_dec"
RETRIES = 1
BUG_TEMPLATE = {
    'labels': ['OS-Chrome', 'VideoTestFailure'],
    'cc': ['chromeos-video-test-failures@google.com'],
}

DOC = """
This is a wrapper test for Chrome jpeg_decode_accelerator_unittest.
"""

args_dict = utils.args_to_dict(args)
job.run_test('video_JpegDecodeAccelerator', **args_dict)