1# Copyright 2020 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 = 'ChromeOS Camera Team/chromeos-camera-eng@google.com' 6NAME = 'tast.camerabox-facing-front' 7TIME = 'MEDIUM' 8TEST_TYPE = 'Server' 9ATTRIBUTES = 'suite:camerabox_facing-front' 10MAX_RESULT_SIZE_KB = 1024 * 1024 11PY_VERSION = 3 12 13# tast.py uses binaries installed from autotest_server_package.tar.bz2. 14REQUIRE_SSP = True 15 16DOC = ''' 17Run the Tast camerabox_facing-front test suite. 18 19Tast is an integration-testing framework analagous to the test-running portion 20of Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for 21more information. 22 23This test runs all Tast-based front camera tests against a remote DUT in front 24facing camerabox setup. 25 26See http://go/tast-failures for information about investigating failures. 27''' 28 29def run(machine): 30 # By setting "use_camera_box" to true, the IP address of chart device in 31 # CameraBox can be brought when running tests to allow local tests connect 32 # to chart directly. 33 job.run_test('tast', 34 host=hosts.create_host(machine), 35 test_exprs=['("group:camerabox" && camerabox_facing_front)'], 36 ignore_test_failures=True, max_run_sec=60*60*3, 37 use_camera_box=True, command_args=args) 38 39parallel_simple(run, machines) 40