• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2014 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_BootDevice.BootDevice100"
6AUTHOR = "ChromeOS Team"
7ATTRIBUTES = "suite:stress"
8TIME = "LONG"
9TEST_CATEGORY = "Stress"
10TEST_CLASS = "platform"
11TEST_TYPE = "server"
12PY_VERSION = 3
13
14DOC = """
15This test reboots the device continuously for a spedified number of iterations.
16This is useful for testing firmware.
17"""
18
19def run_bootdevice(machine):
20    host = hosts.create_host(machine)
21    job.run_test("platform_BootDevice", host=host, reboot_iterations=100)
22
23parallel_simple(run_bootdevice, machines)
24