Test is checking behavior of compile time macros used for generation of log messages thus if platform enforces runtime approach does macros are not available and complilation fails. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
33 lines
727 B
YAML
33 lines
727 B
YAML
common:
|
|
platform_type:
|
|
- qemu
|
|
- native
|
|
tags: log_api logging
|
|
integration_platforms:
|
|
- native_posix
|
|
filter: not CONFIG_LOG_ALWAYS_RUNTIME
|
|
tests:
|
|
logging.log_msg:
|
|
extra_configs:
|
|
- CONFIG_CBPRINTF_COMPLETE=y
|
|
|
|
logging.log_msg_no_overflow:
|
|
extra_configs:
|
|
- CONFIG_LOG_MODE_OVERFLOW=n
|
|
|
|
logging.log_msg_64b_timestamp:
|
|
extra_configs:
|
|
- CONFIG_CBPRINTF_COMPLETE=y
|
|
- CONFIG_LOG_TIMESTAMP_64BIT=y
|
|
|
|
logging.log_msg_fp:
|
|
extra_configs:
|
|
- CONFIG_CBPRINTF_COMPLETE=y
|
|
- CONFIG_CBPRINTF_FP_SUPPORT=y
|
|
|
|
logging.log_msg_fp_64b_timestamp:
|
|
extra_configs:
|
|
- CONFIG_CBPRINTF_COMPLETE=y
|
|
- CONFIG_CBPRINTF_FP_SUPPORT=y
|
|
- CONFIG_LOG_TIMESTAMP_64BIT=y
|