xref: /aosp_15_r20/external/autotest/server/site_tests/tast/control.graphics-opencl-weekly-shard-5 (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright 2022 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 Display team'
6NAME = 'tast.graphics-opencl-weekly-shard-5'
7TIME = 'MEDIUM'
8TEST_TYPE = 'Server'
9ATTRIBUTES = 'suite:graphics_per-week'
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-opencl 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 opencl tests against a remote DUT.
24Separate control files are needed because Tast doesn't isolate tests from each
25other and a clean device state is needed by rebooting before running a
26different graphics suite.
27
28See http://go/tast-failures for information about investigating failures.
29'''
30
31def run(machine):
32    host=hosts.create_host(machine)
33    host.reboot()
34    job.run_test('tast',
35                 host=host,
36                 test_exprs=['("group:graphics" && graphics_weekly && graphics_opencl)'],
37                 ignore_test_failures=True, max_run_sec=21600,
38                 totalshards=10,
39                 shardindex=5,
40                 command_args=args)
41
42parallel_simple(run, machines)
43