• 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.critical-system'
7TIME = 'MEDIUM'
8TEST_TYPE = 'Server'
9# System tests can't be broken by Android or Chrome changes, so these tests
10# don't run in the PFQs.
11ATTRIBUTES = 'suite:bvt-tast-cq'
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 system 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 non-Chrome-dependent and non-Android-dependent Tast-based tests
25that are required to pass against a remote DUT. It fails if any individual Tast
26tests fail.
27
28See http://go/tast-failures for information about investigating failures.
29'''
30
31def run(machine):
32    job.run_test('tast',
33                 host=hosts.create_host(machine),
34                 test_exprs=['('
35                             '!disabled && '
36                             '("group:mainline" || !"group:*") && '
37                             '!informational && '
38                             '!"dep:chrome" && '
39                             '!"dep:android*"'
40                             ')'],
41                 ignore_test_failures=False, max_run_sec=3600,
42                 command_args=args)
43
44parallel_simple(run, machines)
45