Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Side by Side Diff: server/site_tests/suites/control.kernel_scheduler_performance

Issue 6575056: kernel_scheduler: fix copyright and spacing for test suites (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 AUTHOR = "Chrome OS Team" 5 AUTHOR = "Chrome OS Team"
6 NAME = "Kernel Scheduler Performance" 6 NAME = "Kernel Scheduler Performance"
7 TIME = "SHORT" 7 TIME = "SHORT"
8 TEST_CATEGORY = "Benchmark" 8 TEST_CATEGORY = "Benchmark"
9 TEST_CLASS = "suite" 9 TEST_CLASS = "suite"
10 TEST_TYPE = "server" 10 TEST_TYPE = "server"
11 11
12 DOC = """ 12 DOC = """
13 This test suite runs automated benchmarks for testing the performance of 13 This test suite runs automated benchmarks for testing the performance of
14 the kernel scheduler. 14 the kernel scheduler.
15 """ 15 """
16 16
17 from autotest_lib.client.cros import cros_logging 17 from autotest_lib.client.cros import cros_logging
18 from autotest_lib.server import site_host_attributes 18 from autotest_lib.server import site_host_attributes
19 19
20 # TODO: Add some tests 20 # TODO: Add some tests
21 TESTS = [ 21 TESTS = [
22 ('hackbench', {}), 22 ('hackbench', {}),
23 ] 23 ]
24 24
25 25
26 def run_tests(machine): 26 def run_tests(machine):
27 client = hosts.create_host(machine) 27 client = hosts.create_host(machine)
28 client_attributes = site_host_attributes.HostAttributes(machine) 28 client_attributes = site_host_attributes.HostAttributes(machine)
29 29
30 client_at = autotest.Autotest(client) 30 client_at = autotest.Autotest(client)
31 for test, argv in TESTS: 31 for test, argv in TESTS:
32 client_at.run_test(test, **argv) 32 client_at.run_test(test, **argv)
33 33
34 34
35 job.parallel_on_machines(run_tests, machines) 35 job.parallel_on_machines(run_tests, machines)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698