Skip to content

Commit 5a27b00

Browse files
committed
AudioRecord: add minimal-build ALSA capture probe and skip path
Try direct ALSA capture on minimal images and report a clear SKIP when no usable capture profile is available. Preserve existing full-build backend flow and logging. Add a dedicated AudioRecord LAVA YAML for minimal images using ALSA capture probing and clear skip behavior. Fixed shellcheck reported lint issues. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
1 parent 00350e4 commit 5a27b00

2 files changed

Lines changed: 472 additions & 190 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
metadata:
2+
name: AudioRecord minimal build
3+
format: "Lava-Test Test Definition 1.0"
4+
description: "AudioRecord on minimal build using direct ALSA capture probe/path"
5+
maintainer:
6+
- srikanth kumar
7+
os:
8+
- linux
9+
scope:
10+
- functional
11+
12+
params:
13+
BACKEND: "alsa"
14+
SOURCE: "mic"
15+
LOOPS: "1"
16+
TIMEOUT: "0"
17+
RECORD_SECONDS: "30s"
18+
19+
run:
20+
steps:
21+
- REPO_PATH=$PWD
22+
- cd Runner/suites/Multimedia/Audio/AudioRecord/
23+
- ./run.sh --backend "${BACKEND}" --source "${SOURCE}" --loops "${LOOPS}" --timeout "${TIMEOUT}" --record-seconds "${RECORD_SECONDS}" --audio-bootstrap false || true
24+
- ./send-to-lava.sh AudioRecord.res

0 commit comments

Comments
 (0)