1# Copyright (c) 2013 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 5from autotest_lib.client.common_lib import utils 6from autotest_lib.server import utils as server_utils 7 8AUTHOR = "cmtice@chromium.org c-compiler-chrome@google.com" 9NAME = "telemetry_Crosperf" 10TIME = "LONG" 11TEST_CATEGORY = "Benchmark" 12TEST_CLASS = "performance" 13TEST_TYPE = "server" 14 15DOC = """ 16This runs various Telemetry performance tests under the crosperf script. 17This is part of Chrome OS Toolchain testing platform. 18""" 19 20# Put the args into the args_dict. 21args_dict = utils.args_to_dict(args) 22 23def run_telemetry_Crosperf(machine): 24 dut = hosts.create_host(machine) 25 hostname, _ = server_utils.get_host_info_from_machine(machine) 26 job.run_test('telemetry_Crosperf', client_ip=hostname, 27 args=args_dict, dut=dut) 28 29# run the test in multiple machines 30 31job.parallel_simple(run_telemetry_Crosperf, machines) 32 33