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 from autotest_lib.server import utils 6 7 AUTHOR = 'angli, sbasi' 8 NAME = 'android_ACTS' 9 TIME = 'MEDIUM' 10 TEST_TYPE = 'Server' 11 12 DOC = """ 13 This test runs ACTS against a inputed config_file, test_bed, test_case. 14 """ 15 16 args_dict = utils.args_to_dict(args) 17 config_file = args_dict.get('config_file') 18 test_bed = args_dict.get('test_bed') 19 test_case = args_dict.get('test_case') 20 test_file = args_dict.get('test_file') 21 22 def run(machine): 23 job.run_test('android_ACTS', testbed=hosts.create_testbed(machine), 24 config_file=config_file, testbed_name=test_bed, 25 test_case=test_case, test_file=test_file) 26 27 28 parallel_simple(run, machines) 29