blob: 9deed7fb75b5b0a9c6e275343e4bb78b9160ccd0 [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package camera
import (
func init() {
Func: HAL3Device,
Desc: "Verifies camera device function with HAL3 interface",
Contacts: []string{"", "", ""},
Attr: []string{"group:mainline", "informational", "group:camera-libcamera", "group:camera-postsubmit"},
SoftwareDeps: []string{"arc", "arc_camera3", "chrome", caps.BuiltinCamera},
Pre: chrome.LoggedIn(),
Timeout: 4 * time.Minute,
func HAL3Device(ctx context.Context, s *testing.State) {
if err := hal3.RunTest(ctx, hal3.DeviceTestConfig()); err != nil {
s.Error("Test failed: ", err)