• 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 = 'Chromium OS team'
6NAME = 'tast.informational-chrome'
7TIME = 'MEDIUM'
8TEST_TYPE = 'Server'
9ATTRIBUTES = 'suite:bvt-tast-informational, suite:chrome-informational'
10MAX_RESULT_SIZE_KB = 50 * 1024
11
12# tast.py uses binaries installed from autotest_server_package.tar.bz2.
13REQUIRE_SSP = True
14
15DOC = '''
16Run the Tast informational Chrome test suite.
17
18Tast is an integration-testing framework analagous to the test-running portion
19of Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for
20more information.
21
22This test runs Chrome-dependent Tast-based informational tests against a remote
23DUT. It only reports failure if the tast process itself (rather than individual
24Tast tests) fails.
25
26See http://go/tast-failures for information about investigating failures.
27'''
28
29def run(machine):
30    # TODO(crbug.com/992303): Fix android condition.
31    job.run_test('tast',
32                 host=hosts.create_host(machine),
33                 test_exprs=['('
34                             '!disabled && '
35                             '("group:mainline" || !"group:*") && '
36                             'informational && '
37                             '"dep:chrome" && '
38                             '!"dep:android*"'
39                             ')'],
40                 ignore_test_failures=True, max_run_sec=3*60*60, command_args=args)
41
42parallel_simple(run, machines)
43