xref: /aosp_15_r20/external/autotest/server/site_tests/tast/control.omaha (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1*9c5db199SXin Li# Copyright 2021 The Chromium OS Authors. All rights reserved.
2*9c5db199SXin Li# Use of this source code is governed by a BSD-style license that can be
3*9c5db199SXin Li# found in the LICENSE file.
4*9c5db199SXin Li
5*9c5db199SXin LiAUTHOR = 'Chromium OS team'
6*9c5db199SXin LiNAME = 'tast.omaha'
7*9c5db199SXin LiTIME = 'LONG'
8*9c5db199SXin LiTEST_TYPE = 'Server'
9*9c5db199SXin LiATTRIBUTES = 'suite:omaha_per-week'
10*9c5db199SXin LiMAX_RESULT_SIZE_KB = 50 * 1024
11*9c5db199SXin LiPY_VERSION = 3
12*9c5db199SXin Li
13*9c5db199SXin Li# tast.py uses binaries installed from autotest_server_package.tar.bz2.
14*9c5db199SXin LiREQUIRE_SSP = True
15*9c5db199SXin Li
16*9c5db199SXin LiDOC = '''
17*9c5db199SXin LiRun omaha Tast tests.
18*9c5db199SXin Li
19*9c5db199SXin LiTast is an integration-testing framework analagous to the test-running portion
20*9c5db199SXin Liof Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for
21*9c5db199SXin Limore information.
22*9c5db199SXin Li
23*9c5db199SXin LiThis test runs group of tests that check the state of prod Omaha and are not
24*9c5db199SXin Lidependent on the current build, they can run periodically.
25*9c5db199SXin Li'''
26*9c5db199SXin Li
27*9c5db199SXin Lidef run(machine):
28*9c5db199SXin Li    job.run_test('tast',
29*9c5db199SXin Li                 host=hosts.create_host(machine), max_run_sec=10800,
30*9c5db199SXin Li                 test_exprs=['("group:omaha")'], command_args=args)
31*9c5db199SXin Li
32*9c5db199SXin Liparallel_simple(run, machines)
33