• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2012 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 = 'The Chromium OS Authors'
6NAME = 'camera_V4L2'
7PURPOSE = 'Exercises v4l2 camera devices to verify required operations.'
8CRITERIA = """
9This is a complex text and tests many different functions. This test will fail
10if any of the following conditions occur:
11  - No v4L2 device is found
12  - If a mandatory control is not supported
13  - If streaming is not supported
14  - If a required resolution is not supported when capturing a stream
15"""
16# Do not run it in bvt-perbuild suite since it's already migrated to Tast.
17# The Autotest version is kept for moblab AVL usage (https://crbug.com/1001983).
18ATTRIBUTES = ""
19TIME='MEDIUM'
20TEST_CATEGORY = 'V4L2'
21TEST_TYPE = 'client'
22BUG_TEMPLATE = {
23    'labels': ['OS-Chrome', 'VideoTestFailure'],
24    'cc': ['chromeos-video-test-failures@google.com'],
25}
26
27DOC = """
28This test executes media_v4l2_test and media_v4l2_unittest binaries.
29For more information on V4L2 see:
30http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Intro-to-V4L2/
31"""
32
33capability='builtin_usb_camera'
34job.run_test('camera_V4L2', capability=capability)
35