1 # Copyright 2017 The Chromium 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, chromeos-video (a] google.com" 6 NAME = "video_VDASanity" 7 PURPOSE = "Run VDA unittest with a list of short videos for sanity testing." 8 CRITERIA = """ 9 The test fails if the kernel crashes or video_decode_accelerator_unittest 10 fails. If VDA notifies an error, VDA unittest will still pass because input 11 may be unsupported or corrupted videos. 12 """ 13 ATTRIBUTES = "suite:bvt-perbuild" 14 TIME = "SHORT" 15 TEST_CATEGORY = "Functional" 16 TEST_CLASS = "video" 17 TEST_TYPE = "client" 18 DEPENDENCIES='hw_video_acc_vp9' 19 BUG_TEMPLATE = { 20 'labels': ['OS-Chrome', 'VideoTestFailure'], 21 'cc': ['chromeos-video-test-failures (a] google.com'], 22 } 23 24 DOC= """ 25 This autotest should run very fast. To ensure that, rendering of VDA 26 unittest is off and the test videos should be as short as possible. 27 """ 28 29 # A list of test cases. Each entry consists of the following parts: 30 # [download_path, width, height, frame_num, fragment_num, MediaCodecProfile] 31 test_cases = [ 32 ['video_VDASanity/bear_profile1.vp9', 320, 180, 30, 30, 12], 33 ['video_VDASanity/bear_profile2.vp9', 320, 180, 30, 30, 12], 34 ['video_VDASanity/bear_profile3.vp9', 320, 180, 30, 30, 12], 35 ] 36 37 job.run_test('video_VDASanity', test_cases=test_cases, tag='vp9') 38