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 5 AUTHOR = "Chrome OS Team" 6 NAME = "HWConfig" 7 PURPOSE = "Execute automated hardware configuration checks." 8 TIME = "SHORT" 9 TEST_CATEGORY = "Functional" 10 TEST_CLASS = "suite" 11 TEST_TYPE = "client" 12 13 DOC = """ 14 This test suite runs automated hardware configuration checks. The purpose of 15 the suite is to sanity test all hardware components in less than 5 minutes. 16 """ 17 18 # Firmware 19 job.run_test('firmware_RomSize', 20 constraints=['kb_system_rom_size >= 4096', 21 'kb_ec_rom_size >= 128']) 22 23 # RTC, system 24 job.run_test('platform_HighResTimers') 25 job.run_test('power_Resume') 26 27 # RAM 28 job.run_test('hardware_MemoryTotalSize') 29 30 # CPU 31 job.run_test('power_CPUFreq') 32 job.run_test('power_CPUIdle') 33 34 # Display 35 job.run_test('hardware_Backlight') 36 37 # SSD 38 job.run_test('hardware_DiskSize', 39 constraints=['gb_main_disk_size >= 8']) 40 job.run_test('hardware_SsdDetection') 41 42 # CPU, RAM, SSD 43 job.run_test('hardware_SAT', seconds=20) 44 45 # Network 46 job.run_test('network_DisableInterface', 47 iface_name='wlan0', tag='wlan0') # WiFi 48 job.run_test('network_DisableInterface', 49 iface_name='eth0', tag='eth0') # Ethernet 50 job.run_test('network_DisableInterface', 51 iface_name='hci0', tag='hci0') # Bluetooth 52 job.run_test('network_WiFiCaps') 53 54 # GPU 55 job.run_test('graphics_GLBench') 56