tests: logging: log_api: Extend to test LOG_OVERRIDE_LEVEL
Extended test to validate CONFIG_LOG_OVERRIDE_LEVEL option. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
476033e81f
commit
0b8b1ae997
7 changed files with 138 additions and 9 deletions
|
@ -127,6 +127,23 @@ tests:
|
|||
- CONFIG_LOG_MODE_DEFERRED=y
|
||||
- CONFIG_LOG_TIMESTAMP_64BIT=y
|
||||
|
||||
logging.log2_api_deferred_override_level:
|
||||
# Testing on selected platforms as it enables all logs in the application
|
||||
# and it cannot be handled on many platforms.
|
||||
platform_allow: qemu_cortex_m3 qemu_cortex_a9
|
||||
extra_configs:
|
||||
- CONFIG_LOG_MODE_DEFERRED=y
|
||||
- CONFIG_LOG_OVERRIDE_LEVEL=4
|
||||
|
||||
logging.log2_api_deferred_override_level_rt_filtering:
|
||||
# Testing on selected platforms as it enables all logs in the application
|
||||
# and it cannot be handled on many platforms.
|
||||
platform_allow: qemu_cortex_m3 qemu_cortex_a9
|
||||
extra_configs:
|
||||
- CONFIG_LOG_MODE_DEFERRED=y
|
||||
- CONFIG_LOG_RUNTIME_FILTERING=y
|
||||
- CONFIG_LOG_OVERRIDE_LEVEL=4
|
||||
|
||||
logging.log2_api_immediate:
|
||||
# FIXME: qemu_arc_hs6x excluded, see #38041
|
||||
platform_exclude: qemu_arc_hs6x
|
||||
|
@ -183,6 +200,24 @@ tests:
|
|||
- CONFIG_LOG_FRONTEND=y
|
||||
- CONFIG_LOG_MODE_IMMEDIATE=y
|
||||
|
||||
logging.log_api_frontend_immediate_override_level:
|
||||
# Testing on selected platforms as it enables all logs in the application
|
||||
# and it cannot be handled on many platforms.
|
||||
platform_allow: qemu_cortex_m3 qemu_cortex_a9
|
||||
extra_configs:
|
||||
- CONFIG_LOG_FRONTEND=y
|
||||
- CONFIG_LOG_MODE_IMMEDIATE=y
|
||||
- CONFIG_LOG_OVERRIDE_LEVEL=4
|
||||
|
||||
logging.log2_api_deferred_override_level_rt_filtering:
|
||||
# Testing on selected platforms as it enables all logs in the application
|
||||
# and it cannot be handled on many platforms.
|
||||
platform_allow: qemu_cortex_m3 qemu_cortex_a9
|
||||
extra_configs:
|
||||
- CONFIG_LOG_MODE_DEFERRED=y
|
||||
- CONFIG_LOG_RUNTIME_FILTERING=y
|
||||
- CONFIG_LOG_OVERRIDE_LEVEL=4
|
||||
|
||||
logging.log_api_frontend_only:
|
||||
# FIXME: qemu_arc_hs6x excluded, see #38041
|
||||
platform_exclude: qemu_arc_hs6x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue