• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 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
5AUTHOR = "dhaddock, Chromium OS"
6NAME = "autoupdate_NonBlockingOOBEUpdate.delta"
7PURPOSE = "Test non-forced update at OOBE."
8TIME = "MEDIUM"
9TEST_CATEGORY = "Functional"
10TEST_CLASS = "platform"
11TEST_TYPE = "server"
12ATTRIBUTES = "suite:au-oobe, suite:au_fsi"
13PY_VERSION = 3
14DOC = """
15This tests an update is available at OOBE but there is no deadline set.
16
17Kick it off locally using this command:
18
19test_that <hostname>.cros autoupdate_NonBlockingOOBEUpdate.delta --args="job_repo_url='http://<IP>:<port>/static/<board>-release/RXX-XXXX.X.X/autotest/packages' running_at_desk=True"
20
21"""
22
23from autotest_lib.client.common_lib import utils
24
25args_dict = utils.args_to_dict(args)
26
27def run(machine):
28    host = hosts.create_host(machine)
29    job.run_test('autoupdate_NonBlockingOOBEUpdate', host=host,
30                 full_payload=False, **args_dict)
31
32job.parallel_simple(run, machines)
33