diff --git a/case-lib/config.sh b/case-lib/config.sh index c07e9864..a0df507c 100644 --- a/case-lib/config.sh +++ b/case-lib/config.sh @@ -67,3 +67,7 @@ SUDO_LEVEL=${SUDO_LEVEL:-} # in CI, which is controlled by sof-framework. In manual run, user can # override the default value. SOF_TEST_INTERVAL=${SOF_TEST_INTERVAL:-5} + +# Logger is not always supported, we want sof-test to run even +# without logger. +LOGGER_MODE=${LOGGER_MODE:-true} diff --git a/case-lib/lib.sh b/case-lib/lib.sh index c3c7a850..1a788c7b 100644 --- a/case-lib/lib.sh +++ b/case-lib/lib.sh @@ -397,7 +397,7 @@ is_zephyr() logger_disabled() { - [[ ${OPT_VAL['s']} -eq 0 ]] + [[ ${OPT_VAL['s']} -eq 0 ]] || [[ "$LOGGER_MODE" == "false" ]] } print_module_params()