xref: /aosp_15_r20/external/autotest/test_suites/control.hps_sweetberry_perf_perbuild (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 = "[email protected]"
6NAME = "hps_sweetberry_perf_perbuild"
7PURPOSE = "Performance tests for HPS (Sweetberry-specific)"
8TIME = "SHORT"
9TEST_CLASS = "suite"
10TEST_TYPE = "Server"
11
12DOC = """
13Performance test suite for running on custom HPS dev board setup.
14Requires Sweetberry to be connected.
15
16@param build: The name of the image to test.
17@param board: The board to test on.
18@param pool: The pool of machines to utilize for scheduling. If pool=None
19             board is used.
20@param check_hosts: require appropriate live hosts to exist in the lab.
21@param SKIP_IMAGE: (optional) If present and True, don't re-image devices.
22@param file_bugs: If True your suite will file bugs on failures.
23@param max_run_time: Amount of time each test shoud run in minutes.i
24"""
25
26import common
27from autotest_lib.server.cros.dynamic_suite import dynamic_suite
28
29args_dict['add_experimental'] = True
30args_dict['max_runtime_mins'] = 120
31args_dict['name'] = NAME
32args_dict['job'] = job
33
34dynamic_suite.reimage_and_run(**args_dict)
35