Skip to content

Commit

Permalink
check-sof-logger.sh Predicate LDC search on !zephyr
Browse files Browse the repository at this point in the history
Zephyr builds don't produce .ldc files anymore, don't look for them
and fail.

Fixes: thesofproject#1216

Signed-off-by: Andy Ross <[email protected]>
  • Loading branch information
andyross authored and marc-hb committed Jul 9, 2024
1 parent 76711d3 commit 5f25449
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test-case/check-sof-logger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@ fi
loggerBin=$(type -p sof-logger)
dlogi "Found file: $(md5sum "$loggerBin" | awk '{print $2, $1;}')"

dlogi "Looking for ldc File ..."
ldcFile=$(find_ldc_file) || die ".ldc file not found!"
if ! is_firmware_file_zephyr; then
dlogi "Looking for ldc File ..."
ldcFile=$(find_ldc_file) || die ".ldc file not found!"

dlogi "Found file: $(md5sum "$ldcFile"|awk '{print $2, $1;}')"
dlogi "Found file: $(md5sum "$ldcFile"|awk '{print $2, $1;}')"
fi

# etrace shared memory mailbox, newer feature.
etrace_file=$LOG_ROOT/logger.etrace.txt
Expand Down

0 comments on commit 5f25449

Please sign in to comment.