Skip to content

Commit

Permalink
case-lib: remove check for log ldc file
Browse files Browse the repository at this point in the history
Checking for ldc (log dictionary) file existance as a way to
decide whether to enable or disable logging during a test case,
is no longer applicable as SOF supports multiple firmware logging
solutions that do not use an ldc file.

Remove the check as it no longer makes sense.

Link: https://github.com/thesofproject/sof/issues/9286
Signed-off-by: Kai Vehmanen <[email protected]>
  • Loading branch information
kv2019i authored and marc-hb committed Jul 8, 2024
1 parent 70c9d34 commit 76711d3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions case-lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -874,13 +874,6 @@ is_ipc4()

logger_disabled()
{
local ldcFile
# Some firmware/OS configurations do not support logging.
ldcFile=$(find_ldc_file) || {
dlogi '.ldc dictionary file not found, SOF logs collection disabled'
return 0 # 0 is 'true'
}

# Disable logging when available...
if [ ${OPT_VAL['s']} -eq 0 ]; then
return 0
Expand Down

0 comments on commit 76711d3

Please sign in to comment.