Home | History | Annotate | Download | only in firmware_FWtries
      1 # Copyright 2015 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 = "firmware_FWtries.dev"
      7 ATTRIBUTES = "suite:faft, suite:faft_bios, suite:faft_bios_au_1, suite:faft_bios_au_2, suite:faft_bios_au_3, suite:faft_dev, suite:faft_lv1, suite:faft_dev_ryu, suite:faft_bios_ec3po, suite:faft_bios_tot"
      8 TIME = "SHORT"
      9 TEST_CATEGORY = "Functional"
     10 TEST_CLASS = "firmware"
     11 TEST_TYPE = "server"
     12 JOB_RETRIES = 4
     13 
     14 DOC = """
     15 Boot with firmware B until fwb_tries count down to 0
     16 
     17 After each reboot check the value of mainfw_act, mainfw_type, fwb_tries,
     18 tried_fwb
     19 """
     20 
     21 from autotest_lib.client.common_lib import utils
     22 
     23 args_dict = utils.args_to_dict(args)
     24 servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
     25 
     26 def run_fwtries(machine):
     27     # Setup the client machine.
     28     host = hosts.create_host(machine, servo_args=servo_args)
     29     job.run_test('firmware_FWtries', host=host, cmdline_args=args,
     30                  dev_mode=True, tag="dev")
     31 
     32 parallel_simple(run_fwtries, machines)
     33