tast: Add "camera_app" dependency. This is needed to skip the camera.CCA* test on DUTs that do not have the required camera/video/audio support. BUG=b:185315317, b:185087278 TEST=None Change-Id: Iabefec37543d4a85f2244bc688fe4065b46a043c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast/+/2825968 Reviewed-by: Wei Lee <wtlee@chromium.org> Reviewed-by: Hidehiko Abe <hidehiko@chromium.org> Tested-by: Shik Chen <shik@chromium.org> Commit-Queue: Shik Chen <shik@chromium.org>
diff --git a/docs/test_dependencies.md b/docs/test_dependencies.md index b1b5c74..7999745 100644 --- a/docs/test_dependencies.md +++ b/docs/test_dependencies.md
@@ -44,6 +44,7 @@ * `breakpad` - Whether the platform supports the breakpad crash handler for Chrome. * `camera_720p` - The ability to capture video with frame size 1280x720. +* `camera_app` - The ability to run the builtin camera app. * `camera_legacy` - Using [Linux Video Capture] in Chrome, and [Camera HAL1] in Android if ARC++ is available. * `cert_provision` - The ability to use an additional cert_provision library
diff --git a/src/chromiumos/tast/cmd/local_test_runner/main.go b/src/chromiumos/tast/cmd/local_test_runner/main.go index 08be630..f13f431 100644 --- a/src/chromiumos/tast/cmd/local_test_runner/main.go +++ b/src/chromiumos/tast/cmd/local_test_runner/main.go
@@ -80,7 +80,10 @@ // TODO(b/73436929) Grunt cannot run 720p due to performance issue, // we should remove grunt after hardware encoding supported. // daisy variants' cameras don't support 1280x720. - "camera_720p": "!snow && !skate && !spring && !grunt", + "camera_720p": "!snow && !skate && !spring && !grunt", + // Some boards might not support the camera/video/audio components required by the camera app. + // TODO(b/185087278): Remove soraka-libcamera. + "camera_app": `!("board:volteer-kernelnext" || "board:soraka-libcamera")`, "camera_legacy": `!"arc-camera1" && !"arc-camera3"`, "cert_provision": "cert_provision", "chrome": "!chromeless_tty && !rialto",