Home | History | Annotate | Download | only in test_suites
      1 # Copyright 2017 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 = "bvt-installer"
      7 PURPOSE = "Build verification of ChromeOS pieces related to Installer."
      8 
      9 TIME = "MEDIUM"
     10 TEST_CATEGORY = "General"
     11 TEST_CLASS = "suite"
     12 TEST_TYPE = "Server"
     13 
     14 DOC = """
     15 This suite is used for testing pieces in ChromeOS that would be covered by
     16 the Internals>Installer component (e.g Powerwash). It is run on
     17 the canary and release builders, but not the CQ or PFQ's. These tests are
     18 being split from bvt-inline as their average runtime is not acceptable for
     19 that suite.
     20 
     21 @param build: The name of the image to test.
     22               Ex: veyron_minnie-release/R60-9575.0.0
     23 @param board: The board to test on. Ex: veyron_minnie
     24 @param pool: The pool of machines to utilize for scheduling.
     25 """
     26 
     27 import common
     28 from autotest_lib.server.cros import provision
     29 from autotest_lib.server.cros.dynamic_suite import dynamic_suite
     30 
     31 args_dict['max_runtime_mins'] = 60
     32 args_dict['name'] = 'bvt-installer'
     33 args_dict['job'] = job
     34 args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
     35 
     36 dynamic_suite.reimage_and_run(**args_dict)