• 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.mustpass-chrome'
7TIME = 'MEDIUM'
8TEST_TYPE = 'Server'
9# Android changes can't break Chrome tests (so we don't need to run them in the
10# Android PFQ), but OS changes can (so we need to run them in the CQ).
11ATTRIBUTES = 'suite:bvt-tast-cq, suite:bvt-tast-chrome-pfq'
12MAX_RESULT_SIZE_KB = 50 * 1024
13
14# tast.py uses binaries installed from autotest_server_package.tar.bz2.
15REQUIRE_SSP = True
16
17DOC = '''
18Run the Tast must-pass Chrome test suite.
19
20Tast is an integration-testing framework analagous to the test-running portion
21of Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for
22more information.
23
24This test runs Chrome-dependent Tast-based tests that are required to pass
25against a remote DUT. It fails if any individual Tast tests fail.
26
27See http://go/tast-failures for information about investigating failures.
28'''
29
30def run(machine):
31    job.run_test('tast',
32                 host=hosts.create_host(machine),
33                 test_exprs=['(!disabled && !"group:*" && !informational && '
34                             '("dep:chrome" || "dep:chrome_login") && '
35                             '!"dep:android" && !"dep:android_all")'],
36                 ignore_test_failures=False, max_run_sec=1200)
37
38parallel_simple(run, machines)
39