Home | History | Annotate | Download | only in platform_BootPerfServer
      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 = "BootPerfServerCrosPerf"
      6 AUTHOR = "Chrome OS Team"
      7 ATTRIBUTES = "suite:crosbolt_perf_perbuild"
      8 SUITE = "crosbolt_perf_perbuild"
      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,
     22                  iterations=10, upload_perf=True)
     23 
     24 parallel_simple(run_bootperf, machines)
     25