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