1 # Copyright (c) 2012 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 NAME = "BootPerfServer" 6 AUTHOR = "Chrome OS Team" 7 ATTRIBUTES = "suite:kernel_per-build_benchmarks" 8 SUITE = "kernel_per-build_benchmarks" 9 TIME = "SHORT" 10 TEST_CATEGORY = "Benchmark" 11 TEST_CLASS = "platform" 12 TEST_TYPE = "server" 13 14 DOC = """ 15 This test reboots the client and uses the client-side platform_BootPerf test 16 to collect boot performance metrics. 17 """ 18 19 def run_bootperf(machine): 20 host = hosts.create_host(machine) 21 job.run_test("platform_BootPerfServer", host=host, iterations=10) 22 23 parallel_simple(run_bootperf, machines) 24