1# Copyright 2019 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 = 'Chromium OS team'
6NAME = 'tast.graphics-video-platformdecoding-hevc-perbuild'
7TIME = 'MEDIUM'
8TEST_TYPE = 'Server'
9ATTRIBUTES = 'suite:graphics_per-build'
10MAX_RESULT_SIZE_KB = 1024 * 1024
11PY_VERSION = 3
12
13# tast.py uses binaries installed from autotest_server_package.tar.bz2.
14REQUIRE_SSP = True
15
16DOC = '''
17Run the Tast graphics-video platformdecoding-hevc test suite.
18
19Tast is an integration-testing framework analagous to the test-running portion
20of Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for
21more information.
22
23This test runs Tast-based graphics-video tests against a remote DUT.
24
25See http://go/tast-failures for information about investigating failures.
26'''
27
28def run(machine):
29    host=hosts.create_host(machine)
30    host.reboot()
31    job.run_test('tast',
32                 host=host,
33                 test_exprs=['("group:graphics" && graphics_perbuild && graphics_video && !graphics_av_analysis && graphics_video_platformdecoding && graphics_video_hevc)'],
34                 ignore_test_failures=True, max_run_sec=21600,
35                 command_args=args)
36
37parallel_simple(run, machines)
38