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 5 from autotest_lib.client.common_lib import utils 6 7 AUTHOR = "drinkcat,dnschneid" 8 NAME = "platform_Crouton" 9 TIME = "LENGTHY" 10 TEST_TYPE = "client" 11 12 DOC = """ 13 This test fetches a specific branch of crouton, and runs crouton tests. 14 15 @param repo: (dnschneid/crouton) github repository to fetch from 16 @param branch: (master) github branch 17 @param runargs: (-R precise 00) parameters to pass to run.sh 18 @param env: () Environment variables to set, semicolon-separated key=val pairs. 19 Only CROUTON_MIRROR_* can be set 20 """ 21 22 args_dict = utils.args_to_dict(args) 23 24 job.run_test('platform_Crouton', args=args_dict) 25