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 5from autotest_lib.server import utils 6 7AUTHOR = "Chrome OS Team" 8NAME = "factory_InstallVM" 9TIME = "MEDIUM" 10TEST_CATEGORY = "Functional" 11TEST_CLASS = "factory" 12TEST_TYPE = "server" 13 14DOC = """ 15This test creates and runs a mini-Omaha server, boots a VM from the 16factory install shim, installs ChromeOS, runs a subset of factory 17tests, and finally boots into ChromeOS. 18""" 19 20 21parallel_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