Skip to content
Closed
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion case-lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ die()

skip_test()
{
dlogi "$@"
dlogw 'SKIP test because:'
dlogw "$@"
# See func_exit_handler()
exit 2
}
Expand Down
10 changes: 10 additions & 0 deletions test-case/check-sof-logger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ md5list()
while read -r; do md5sum "$REPLY"; done
}

# TODO: move all this code to "main" or any other, possibly new
# function. See why in
# https://github.com/thesofproject/sof-test/issues/740

# Recent Ubuntu versions symlink the entire /bin -> /usr/bin so we
# cannot just count the number of filenames we found. Count the
# number of different _checksums_ we found in PATH.
Expand Down Expand Up @@ -153,6 +157,12 @@ main()
skip_test "The SOF logger does not work with Zephyr yet, see issue #4420"
fi

local platform; platform=$("$TOPDIR"/tools/sof-dump-status.py -p)

if [ adl = "$platform" ]; then
skip_test "adl FW takes too long to boot, see linux/issues/3042"
fi

reload_drivers

run_loggers ||
Expand Down