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