Skip to content

Commit 4410f02

Browse files
committed
check-alsabat: add NOCODEC models, drop duplicates
Drop setup block and keep initialization only in main() to avoid running start_test, log collection, and ALSA setup twice. add PTLH_RVP_NOCODEC, NVL_RVP_NOCODEC, NVLS_RVP_NOCODEC and WCL_RVP_NOCODEC to NOCODEC reset-volume handling branch Signed-off-by: Junkier, Mateusz <mateusz.junkier@intel.com>
1 parent 0f7e4b4 commit 4410f02

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

case-lib/lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ set_alsa_settings()
14021402
# common nocodec_ci alsa settings
14031403
"$SCRIPT_HOME"/alsa_settings/CAVS_NOCODEC_CI.sh
14041404
;;
1405-
TGLU_RVP_NOCODEC_IPC4ZPH | ADLP_RVP_NOCODEC_IPC4ZPH | ADLP_RVP_NOCODEC-ipc4 | TGLU_RVP_NOCODEC-ipc4 | MTLP_RVP_NOCODEC | MTLP_RVP_NOCODEC-multicore-2cores | MTLP_RVP_NOCODEC-multicore-3cores | LNLM_RVP_NOCODEC)
1405+
TGLU_RVP_NOCODEC_IPC4ZPH | ADLP_RVP_NOCODEC_IPC4ZPH | ADLP_RVP_NOCODEC-ipc4 | TGLU_RVP_NOCODEC-ipc4 | MTLP_RVP_NOCODEC | MTLP_RVP_NOCODEC-multicore-2cores | MTLP_RVP_NOCODEC-multicore-3cores | LNLM_RVP_NOCODEC | PTLH_RVP_NOCODEC | NVL_RVP_NOCODEC | NVLS_RVP_NOCODEC | WCL_RVP_NOCODEC)
14061406
dlogi "Use reset_sof_volume function to set amixer setting."
14071407
;;
14081408
*)

test-case/check-alsabat.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,6 @@ frequency=${OPT_VAL['F']}
7272
sigmak=${OPT_VAL['k']}
7373
frames=${OPT_VAL['n']}
7474

75-
start_test
76-
77-
if [ "$pcm_p" = "" ]||[ "$pcm_c" = "" ];
78-
then
79-
dloge "No playback or capture PCM is specified. Skip the alsabat test"
80-
exit 2
81-
fi
82-
83-
check_locale_for_alsabat
84-
85-
logger_disabled || func_lib_start_log_collect
86-
87-
set_alsa
88-
8975
function __upload_wav_file
9076
{
9177
# upload the alsabat wav file

0 commit comments

Comments
 (0)