Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion test-case/multiple-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@

set -e

TESTDIR="$(dirname "${BASH_SOURCE[0]}")"/..

# shellcheck source=case-lib/lib.sh
source "$(dirname "${BASH_SOURCE[0]}")"/../case-lib/lib.sh
source "${TESTDIR}"/case-lib/lib.sh

OPT_NAME['t']='tplg' OPT_DESC['t']='Topology path, default to environment variable: TPLG'
OPT_HAS_ARG['t']=1 OPT_VAL['t']="$TPLG"
Expand Down Expand Up @@ -140,7 +142,18 @@ ps_checks()
func_error_exit "Caught abnormal process status of aplay"
}

main()
{
local platf; platf=$("${TESTDIR}"/tools/sof-dump-status.py --platform)
if [ "$platf" = bdw ] && [ "$f_arg" != 'p' ] && ! is_zephyr; then
skip_test \
"multi-capture disabled on BDW https://github.com/thesofproject/sof/issues/3170"
fi
}

main "$@"

# TODO: move this to main() https://github.com/thesofproject/sof-test/issues/740
for i in $(seq 1 $loop_cnt)
do
# set up checkpoint for each iteration
Expand Down