Skip to content

Commit d461ea8

Browse files
keqiaozhangChao Song
authored andcommitted
test: add an option to skip the DMIC pipelines
On some new platform, the DMIC support is not ready at the early stage, add an option to disable the DMIC pipelines. Signed-off-by: Keqiao Zhang <keqiao.zhang@intel.com>
1 parent d388738 commit d461ea8

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

case-lib/config.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ SUDO_LEVEL=${SUDO_LEVEL:-}
5858
#
5959
# NO_BT_MODE=true
6060

61+
# Sometimes the DMIC support is not ready on some new platforms.
62+
# We want to skip the DMIC test for some purposes. Add an option
63+
# to skip the DMIC pipeline.
64+
#
65+
# NO_DMIC_MODE=true
66+
6167
# SOF_TEST_INTERVAL informs sof-test of how long the external test
6268
# runner waits between the end of one sof-test and the start of the next
6369
# sof-test. sof-test uses this value to assign the corresponding kernel

case-lib/pipeline.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ func_pipeline_export()
5353
[ -z "$NO_HDMI_MODE" ] || opt="$opt & ~pcm:HDMI"
5454
# In no Bluetooth mode, exclude BT pipelines
5555
[ -z "$NO_BT_MODE" ] || opt="$opt & ~pcm:Bluetooth"
56+
# In no DMIC mode, exclude DMIC pipelines
57+
[ -z "$NO_DMIC_MODE" ] || opt="$opt & ~pcm:DMIC"
5658
opt="-f '${opt}'"
5759

5860
[[ "$ignore" ]] && opt="$opt -b '$ignore'"

0 commit comments

Comments
 (0)