blob: 80fc8c1b58cc5ed265dc9ad88f8b7e0d6eed9b9f [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: HAL3Recording,
Desc: "Verifies camera recording function with HAL3 interface",
Contacts: []string{"", "", ""},
Attr: []string{"group:mainline", "informational", "group:camera-libcamera"},
SoftwareDeps: []string{"arc", "arc_camera3", "chrome", caps.BuiltinCamera},
Pre: chrome.LoggedIn(),
Timeout: 4 * time.Minute,
func HAL3Recording(ctx context.Context, s *testing.State) {
if err := hal3.RunTest(ctx, hal3.RecordingTestConfig()); err != nil {
s.Error("Test failed: ", err)