Skip to content

Commit 5f25449

Browse files
andyrossmarc-hb
authored andcommitted
check-sof-logger.sh Predicate LDC search on !zephyr
Zephyr builds don't produce .ldc files anymore, don't look for them and fail. Fixes: #1216 Signed-off-by: Andy Ross <andyross@google.com>
1 parent 76711d3 commit 5f25449

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

test-case/check-sof-logger.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,12 @@ fi
5353
loggerBin=$(type -p sof-logger)
5454
dlogi "Found file: $(md5sum "$loggerBin" | awk '{print $2, $1;}')"
5555

56-
dlogi "Looking for ldc File ..."
57-
ldcFile=$(find_ldc_file) || die ".ldc file not found!"
56+
if ! is_firmware_file_zephyr; then
57+
dlogi "Looking for ldc File ..."
58+
ldcFile=$(find_ldc_file) || die ".ldc file not found!"
5859

59-
dlogi "Found file: $(md5sum "$ldcFile"|awk '{print $2, $1;}')"
60+
dlogi "Found file: $(md5sum "$ldcFile"|awk '{print $2, $1;}')"
61+
fi
6062

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

0 commit comments

Comments
 (0)