23 lines
		
	
	
		
			661 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			661 B
		
	
	
	
		
			Plaintext
		
	
	
	
| # Copyright (c) 2012 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.
 | |
| 
 | |
| NAME = "BootDevice"
 | |
| AUTHOR = "Chrome OS Team"
 | |
| ATTRIBUTES = "suite:kernel_daily_regression"
 | |
| TIME = "LONG"
 | |
| TEST_CATEGORY = "Stress"
 | |
| TEST_CLASS = "platform"
 | |
| TEST_TYPE = "server"
 | |
| 
 | |
| DOC = """
 | |
| This test reboots the device continuously for a spedified number of iterations.
 | |
| This is useful for testing firmware.
 | |
| """
 | |
| 
 | |
| def run_bootdevice(machine):
 | |
|     host = hosts.create_host(machine)
 | |
|     job.run_test("platform_BootDevice", host=host, reboot_iterations=10)
 | |
| 
 | |
| parallel_simple(run_bootdevice, machines)
 |