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
5NAME = "platform_KernelErrorPaths.BUG"
6AUTHOR = "Chrome OS Team"
7ATTRIBUTES = "suite:kernel_per-build_regression"
8TIME = "SHORT"
9TEST_CATEGORY = "Functional"
10TEST_CLASS = "platform"
11TEST_TYPE = "server"
12
13DOC = """
14This test uses /proc/breakme to cause the machine to have various
15serious failures (kernel panic, kernel bug, deadlock, etc.), and then
16check to make sure that these failures were properly logged and had
17appropritate consequences (reboot, logging, etc.).
18
19Pass the kernel crashes as a comma-delimited string of crash types.
20"""
21
22def run_kernel_error_paths(machine):
23    host = hosts.create_host(machine)
24    job.run_test("platform_KernelErrorPaths", tag="BUG",
25                 kcrashes="BUG", host=host)
26
27parallel_simple(run_kernel_error_paths, machines)
28