xref: /aosp_15_r20/external/autotest/test_suites/control.runtime_probe_perbuild (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1*9c5db199SXin Li# Copyright 2020 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 = "[email protected], [email protected]"
6*9c5db199SXin LiNAME = "runtime_probe_perbuild"
7*9c5db199SXin LiPURPOSE = "Runtime Probe tests"
8*9c5db199SXin Li
9*9c5db199SXin LiTIME = "SHORT"
10*9c5db199SXin LiTEST_CATEGORY = "Functional"
11*9c5db199SXin LiTEST_CLASS = "suite"
12*9c5db199SXin LiTEST_TYPE = "Server"
13*9c5db199SXin Li
14*9c5db199SXin LiDOC = """
15*9c5db199SXin LiChromeOS Runtime Probe tests.
16*9c5db199SXin Li
17*9c5db199SXin LiThis suite is used as an entry point for runtime_probe_perbuild, which passes
18*9c5db199SXin Licros labels in host info store as references to runtime probe tast tests for
19*9c5db199SXin Licomparison with probed component names.
20*9c5db199SXin Li"""
21*9c5db199SXin Li
22*9c5db199SXin Liimport common
23*9c5db199SXin Lifrom autotest_lib.server.cros.dynamic_suite import dynamic_suite
24*9c5db199SXin Li
25*9c5db199SXin Li
26*9c5db199SXin Li# Values specified in this bug template will override default values when
27*9c5db199SXin Li# filing bugs on tests that are a part of this suite. If left unspecified
28*9c5db199SXin Li# the bug filer will fallback to its defaults.
29*9c5db199SXin Li_BUG_TEMPLATE = {
30*9c5db199SXin Li    'labels': ['Type-Bug', 'Cros-Runtime-Probe-Test'],
31*9c5db199SXin Li    'owner': '[email protected]',
32*9c5db199SXin Li    'cc': ['[email protected]']
33*9c5db199SXin Li}
34*9c5db199SXin Li
35*9c5db199SXin Liargs_dict['max_runtime_mins'] = 10
36*9c5db199SXin Liargs_dict['timeout_mins'] = 10
37*9c5db199SXin Liargs_dict['file_bugs'] = True
38*9c5db199SXin Liargs_dict['name'] = 'runtime_probe_perbuild'
39*9c5db199SXin Liargs_dict['job'] = job
40*9c5db199SXin Liargs_dict['add_experimental'] = True
41*9c5db199SXin Liargs_dict['bug_template'] = _BUG_TEMPLATE
42*9c5db199SXin Li
43*9c5db199SXin Lidynamic_suite.reimage_and_run(**args_dict)
44