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