| OLD | NEW |
| 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 Smoke Test" | 6 NAME = "Kernel Scheduler Smoke Test" |
| 7 TIME = "SHORT" | 7 TIME = "SHORT" |
| 8 TEST_CATEGORY = "Functional" | 8 TEST_CATEGORY = "Functional" |
| 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 a quick automated smoke test of the | 13 This test suite runs a quick automated smoke test of the |
| 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 ] | 22 ] |
| 23 | 23 |
| 24 | 24 |
| 25 def run_tests(machine): | 25 def run_tests(machine): |
| 26 client = hosts.create_host(machine) | 26 client = hosts.create_host(machine) |
| 27 client_attributes = site_host_attributes.HostAttributes(machine) | 27 client_attributes = site_host_attributes.HostAttributes(machine) |
| 28 | 28 |
| 29 client_at = autotest.Autotest(client) | 29 client_at = autotest.Autotest(client) |
| 30 for test, argv in TESTS: | 30 for test, argv in TESTS: |
| 31 client_at.run_test(test, **argv) | 31 client_at.run_test(test, **argv) |
| 32 | 32 |
| 33 | 33 |
| 34 job.parallel_on_machines(run_tests, machines) | 34 job.parallel_on_machines(run_tests, machines) |
| OLD | NEW |