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 = "arc-unit-test"
      7 PURPOSE = "Run the unit test of ARC++."
      8 
      9 TIME = "SHORT"
     10 TEST_CATEGORY = "General"
     11 TEST_CLASS = "suite"
     12 TEST_TYPE = "Server"
     13 
     14 DOC = """
     15 This tests suite is a suite for unit tests of ARC++.
     16 
     17 @param build: The name of the image to test.
     18               Ex: veyron_minnie-release/R60-9575.0.0
     19 @param board: The board to test on. Ex: veyron_minnie
     20 @param pool: The pool of machines to utilize for scheduling.
     21 """
     22 
     23 import common
     24 from autotest_lib.server.cros import provision
     25 from autotest_lib.server.cros.dynamic_suite import dynamic_suite
     26 
     27 args_dict['max_runtime_mins'] = 30
     28 args_dict['name'] = NAME
     29 args_dict['job'] = job
     30 args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
     31 
     32 dynamic_suite.reimage_and_run(**args_dict)
     33