Home | History | Annotate | Download | only in firmware_Bmpblk
      1 # Copyright 2018 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 = "jwerner"
      6 NAME = "firmware_Bmpblk"
      7 PURPOSE = "Check that the firmware screens have been correctly configured"
      8 CRITERIA = "This test will fail if firmware screens have not been explicitly scaled for this device"
      9 ATTRIBUTES = "suite:faft, suite:faft_bios, suite:faft_bios_au_1, suite:faft_bios_au_2, suite:faft_bios_au_3, suite:faft_normal, suite:faft_lv4, suite:faft_bios_ec3po, suite:faft_bios_tot"
     10 TIME = "SHORT"
     11 TEST_CATEGORY = "Functional"
     12 TEST_CLASS = "firmware"
     13 TEST_TYPE = "server"
     14 JOB_RETRIES = 4
     15 
     16 DOC = """
     17 This test checks whether the BIOS was built with a correctly configured bmpblk
     18 to ensure crisp firmware screen images and text. The bmpblk for every device
     19 needs to be explicitly configured for the device's screen resolution to ensure
     20 optimal quality. Relies on flashrom and cbfstool to inspect the BIOS image.
     21 """
     22 
     23 from autotest_lib.client.common_lib import utils
     24 
     25 args_dict = utils.args_to_dict(args)
     26 servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
     27 
     28 def run_bmpblk(machine):
     29     host = hosts.create_host(machine, servo_args=servo_args)
     30     job.run_test('firmware_Bmpblk', host=host, cmdline_args=args)
     31 
     32 parallel_simple(run_bmpblk, machines)
     33