Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing logging.log_benchmark_v2 test when CONFIG_LOG_PRINTK=y #34559

Merged

Conversation

nordic-krch
Copy link
Contributor

@nordic-krch nordic-krch commented Apr 26, 2021

Fixing failing test.

Fixes #34526.
Fixes #34558.

@github-actions github-actions bot added the area: API Changes to public APIs label Apr 26, 2021
@nordic-krch nordic-krch added area: Logging bug The issue is a bug, or the PR is fixing a bug and removed area: API Changes to public APIs labels Apr 26, 2021
@nordic-krch nordic-krch requested a review from dcpleung April 26, 2021 05:26
Arguments for UTIL_CAT were accidentaly concatenated instead of passed
separated by comma.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
When printk is redirected to the logging it is using level 0.
Level 0 was missing a define used for detection of function
prefix use which lead to compilation failure when logging v2
was used with CONFIG_LOG_PRINTK=y.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
@nordic-krch nordic-krch force-pushed the fix/logging_0_func_prefix branch from 4948764 to 8885a7b Compare April 26, 2021 06:06
@github-actions github-actions bot added the area: API Changes to public APIs label Apr 26, 2021
@carlescufi carlescufi merged commit afe87be into zephyrproject-rtos:master Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: API Changes to public APIs area: Logging bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compilation error with Log v2 and CONFIG_LOG_PRINTK logging tests fails to build on a number of platforms
3 participants