zephyr/tests/subsys/logging/log_blocking/testcase.yaml
Christopher Friedt 51a011bbd3 tests: logging: add log_blocking testsuite to demonstrate bugfix
Add a testsuite to demonstrate proper functionality of blocking
in the log processing thread.

This serves to demonstrate the previous bugfix, to provide
missing test coverage for the option, and also to document what
pitfalls to avoid when blocking in the log processing thread.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2023-12-04 09:15:29 -05:00

29 lines
811 B
YAML

common:
filter: CONFIG_QEMU_TARGET and not CONFIG_SMP
tags:
- log_api
- logging
integration_platforms:
- qemu_x86
tests:
logging.blocking.rate.input_limited:
extra_configs:
- CONFIG_TEST_INPUT_LOG_RATE=500
- CONFIG_TEST_OUTPUT_LOG_RATE=1000
logging.blocking.rate.matched:
extra_configs:
- CONFIG_TEST_INPUT_LOG_RATE=1000
- CONFIG_TEST_OUTPUT_LOG_RATE=1000
logging.blocking.rate.output_limited:
extra_configs:
- CONFIG_TEST_INPUT_LOG_RATE=1000
- CONFIG_TEST_OUTPUT_LOG_RATE=500
logging.blocking.rate.stalled:
platform_exclude:
# twister fails with "unexpected eof" even though the test passes
- qemu_cortex_r5
timeout: 5
extra_configs:
- CONFIG_TEST_INPUT_LOG_RATE=1000
- CONFIG_TEST_OUTPUT_LOG_RATE=0