diff --git a/case-lib/lib.sh b/case-lib/lib.sh index 03051e9c..3d60f9c6 100644 --- a/case-lib/lib.sh +++ b/case-lib/lib.sh @@ -365,7 +365,8 @@ die() skip_test() { - dlogi "$@" + dlogw 'SKIP test because:' + dlogw "$@" # See func_exit_handler() exit 2 } diff --git a/test-case/check-sof-logger.sh b/test-case/check-sof-logger.sh index 4de6487b..40045196 100755 --- a/test-case/check-sof-logger.sh +++ b/test-case/check-sof-logger.sh @@ -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. @@ -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 ||