Home | History | Annotate | Download | only in suite_HWQual
      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 = "HWQualAuto"
      7 TIME = "LONG"
      8 TEST_CATEGORY = "Functional"
      9 TEST_CLASS = "suite"
     10 TEST_TYPE = "client"
     11 
     12 DOC = """
     13 This test suite runs fully automated client-side hardware qualification tests.
     14 """
     15 
     16 job.run_test('power_Resume',
     17              constraints=['seconds_system_resume <= 1.0'])
     18 
     19 # Kernel Support
     20 job.run_test('platform_HighResTimers')
     21 job.run_test('platform_KernelVersion')
     22 
     23 # CPU
     24 job.run_test('platform_AesThroughput')
     25 
     26 # Firmware
     27 job.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
     38 job.run_test('hardware_MemoryTotalSize')
     39 job.run_test('hardware_MemoryThroughput', num_iteration=2500, test_list='21')
     40 
     41 # Storage
     42 job.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_mean >= 50 * 1024',
     53                  '_seq_write_write_bw_mean >= 15 * 1024',
     54                  '_4k_write_write_iops >= 10',
     55              ])
     56 job.run_test('hardware_DiskSize',
     57              constraints=['gb_main_disk_size >= 8'])
     58 job.run_test('hardware_SsdDetection')
     59 
     60 # Display
     61 job.run_test('hardware_Backlight')
     62 job.run_test('hardware_LightSensor')
     63 job.run_test('hardware_Resolution')
     64 
     65 # Graphics
     66 job.run_test('graphics_GLAPICheck')
     67 job.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              ])
     73 job.run_test('graphics_SanAngeles', creds='$backdoor')
     74 
     75 # Video
     76 job.run_test('camera_V4L2')
     77 
     78 # Communications
     79 job.run_test('network_DisableInterface',
     80              iface_name='wlan0', tag='wlan0')  # WiFi
     81 job.run_test('network_DisableInterface',
     82              iface_name='eth0', tag='eth0')  # Ethernet
     83 job.run_test('network_DisableInterface',
     84              iface_name='hci0', tag='hci0')  # Bluetooth
     85 job.run_test('network_WiFiCaps')
     86 
     87 # Extra Requirements
     88 job.run_test('compilebench')
     89 job.run_test('disktest')
     90 job.run_test('hardware_SAT', seconds=600)
     91 job.run_test('power_CPUFreq')
     92 job.run_test('power_CPUIdle')
     93 job.run_test('unixbench')
     94 
     95 ###  Local Variables:
     96 ###  mode: python
     97 ###  End:
     98