1 # Copyright (c) 2011 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 from autotest_lib.server import utils 6 7 AUTHOR = "Chrome OS Team" 8 NAME = "Factory Install VM" 9 TIME = "MEDIUM" 10 TEST_CATEGORY = "Functional" 11 TEST_CLASS = "factory" 12 TEST_TYPE = "server" 13 14 DOC = """ 15 This test creates and runs a mini-Omaha server, boots a VM from the 16 factory install shim, installs ChromeOS, runs a subset of factory 17 tests, and finally boots into ChromeOS. 18 """ 19 20 21 parallel_simple( 22 lambda machine: 23 job.run_test('factory_InstallVM', 24 host=hosts.create_host(machine), 25 **utils.args_to_dict(args)), 26 machines) 27