blob: 1f34d35218d9b12d848d9f54be5cb3173d7a1fe5 [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "Chrome OS Team"
NAME = "Kernel Main Smoketest"
TIME = "SHORT"
TEST_CATEGORY = "Smoketest"
TEST_CLASS = "suite"
TEST_TYPE = "server"
DOC = """This test suite runs automated tests that should all pass
and that verifies basic system call capabilities are functional."""
from autotest_lib.client.cros import cros_logging
# List of tests to be run.
SERVER_TESTS = [
('platform_BootPerfServer', {'iterations': 1, 'disable_sysinfo': True}),
]
CLIENT_TESTS = [
('build_RootFilesystemSize', {}),
('hardware_MemoryThroughput', {'num_iteration': 10, 'test_list': '21'}),
('hardware_MemoryTotalSize', {}),
('hardware_SAT', {}),
('kernel_HdParm', {}),
('kernel_fs_Inplace', {}),
('network_Ping', {}),
('platform_AesThroughput', {}),
('platform_FilePerms', {}),
('platform_KernelVersion', {}),
('platform_OSLimits', {}),
('platform_Shutdown', {}),
]
def run_client_test(machine):
client = hosts.create_host(machine)
client_at = autotest.Autotest(client)
for test, argv in CLIENT_TESTS:
client_at.run_test(test, **argv)
def run_server_test(machine):
client = hosts.create_host(machine)
for test, argv in SERVER_TESTS:
job.run_test(test, host=client, **argv)
parallel_simple(run_server_test, machines)
job.parallel_on_machines(run_client_test, machines)