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 5 NAME = "platform_HWwatchdog" 6 AUTHOR = "Chrome OS Team" 7 ATTRIBUTES = "suite:kernel_per-build_regression" 8 SUITE = "kernel_per-build_regression" 9 TIME = "SHORT" 10 TEST_CATEGORY = "Functional" 11 TEST_CLASS = "platform" 12 TEST_TYPE = "server" 13 14 DOC = """ 15 This test uses the hardware watchdog interface to make sure a machine 16 will reboot when expected. 17 """ 18 19 def run_kernel_hw_watchdog(machine): 20 host = hosts.create_host(machine) 21 job.run_test("platform_HWwatchdog", host=host) 22 23 parallel_simple(run_kernel_hw_watchdog, machines) 24