xref: /aosp_15_r20/external/autotest/client/site_tests/suite_HWQual/control.auto (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright (c) 2010 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 = "ChromeOS Team"
6NAME = "HWQualAuto"
7TIME = "LONG"
8TEST_CATEGORY = "Functional"
9TEST_CLASS = "suite"
10TEST_TYPE = "client"
11PY_VERSION = 3
12
13DOC = """
14This test suite runs fully automated client-side hardware qualification tests.
15"""
16
17job.run_test('power_Resume',
18             constraints=['seconds_system_resume <= 1.0'])
19
20# Kernel Support
21job.run_test('platform_HighResTimers')
22job.run_test('platform_KernelVersion')
23
24# CPU
25job.run_test('platform_AesThroughput')
26
27# Firmware
28job.run_test('firmware_RomSize',
29             constraints=['kb_system_rom_size >= 4096',
30                          'kb_ec_rom_size >= 128'])
31# TODO(gauravsh): firmware_VbootCrypto is disabled until there is a way of
32# running the auto test in 64-bit mode.
33#
34# This is tracked at http://crosbug.com/3792
35#
36# job.run_test('firmware_VbootCrypto', suite='benchmarks', tag='benchmarks')
37
38# System Memory
39job.run_test('hardware_MemoryTotalSize')
40job.run_test('hardware_MemoryThroughput', num_iteration=2500, test_list='21')
41
42# Storage
43job.run_test('hardware_StorageFio',
44             requirements = [
45                 ('surfing', []),
46		 ('boot', []),
47		 ('seq_read', []),
48		 ('seq_write', []),
49		 ('4k_read', []),
50		 ('4k_write', [])
51             ],
52             constraints=[
53                 '_seq_read_read_bw >= 50 * 1024',
54                 '_seq_write_write_bw >= 15 * 1024',
55                 '_4k_write_write_iops >= 10',
56             ])
57job.run_test('hardware_DiskSize',
58             constraints=['gb_main_disk_size >= 8'])
59job.run_test('hardware_SsdDetection')
60
61# Display
62job.run_test('hardware_Backlight')
63job.run_test('hardware_LightSensor')
64job.run_test('hardware_Resolution')
65
66# Graphics
67job.run_test('graphics_GLAPICheck')
68job.run_test('graphics_GLBench',
69             constraints=[
70                 'mpixels_sec_fill_solid >= 190',
71                 'mpixels_sec_fill_tex_nearest >= 190',
72                 'mpixels_sec_fill_tex_bilinear >= 190',
73             ])
74job.run_test('graphics_SanAngeles', creds='$backdoor')
75
76# Video
77job.run_test('camera_V4L2')
78
79# Communications
80job.run_test('network_WiFiCaps')
81
82# Extra Requirements
83job.run_test('compilebench')
84job.run_test('disktest')
85job.run_test('hardware_SAT', seconds=600)
86job.run_test('power_CPUFreq')
87job.run_test('power_CPUIdle')
88job.run_test('unixbench')
89
90###  Local Variables:
91###  mode: python
92###  End:
93