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

[nrf fromtree] tests: subsys: logging: Test with CONFIG_LOG disabled #2472

Conversation

nordic-segl
Copy link
Contributor

@nordic-segl nordic-segl commented Feb 7, 2025

Developer reports build error when he uses LOG_RAW in his code and disables logging in prj.conf using CONFIG_LOG=n.

Add test case for above described scenario.

Upstream PR #: 85383
(cherry picked from commit 5eff0c1cd7bfb40b930bacf3a200fd93f9668c85)

manifest-pr-skip

nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Feb 7, 2025
Include:
tests: subsys: logging: Test with CONFIG_LOG disabled
nrfconnect/sdk-zephyr#2472
zephyrproject-rtos/zephyr#85383

Signed-off-by: Sebastian Głąb <[email protected]>
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Feb 7, 2025
Include:
tests: subsys: logging: Test with CONFIG_LOG disabled
nrfconnect/sdk-zephyr#2472
zephyrproject-rtos/zephyr#85383

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-7077_Test-build-error-in-the-logging-subsystem branch from 56d4fc3 to 400b96d Compare February 10, 2025 07:34
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Feb 10, 2025
Include:
tests: subsys: logging: Test with CONFIG_LOG disabled
nrfconnect/sdk-zephyr#2472
zephyrproject-rtos/zephyr#85383

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-7077_Test-build-error-in-the-logging-subsystem branch from 400b96d to e7e8c22 Compare February 10, 2025 07:39
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Feb 10, 2025
Include:
tests: subsys: logging: Test with CONFIG_LOG disabled
nrfconnect/sdk-zephyr#2472
zephyrproject-rtos/zephyr#85383

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-7077_Test-build-error-in-the-logging-subsystem branch from e7e8c22 to 42ae3d6 Compare February 12, 2025 07:06
@nordic-segl nordic-segl changed the title [nrf fromlist] tests: subsys: logging: Test with CONFIG_LOG disabled [nrf fromtree] tests: subsys: logging: Test with CONFIG_LOG disabled Feb 12, 2025
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Feb 12, 2025
Include:
tests: subsys: logging: Test with CONFIG_LOG disabled
nrfconnect/sdk-zephyr#2472
zephyrproject-rtos/zephyr#85383

Signed-off-by: Sebastian Głąb <[email protected]>
Developer reports build error when he uses LOG_RAW in his code
and disables logging in prj.conf using CONFIG_LOG=n.

Add test case for above described scenario.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 5eff0c1cd7bfb40b930bacf3a200fd93f9668c85)
@nordic-segl nordic-segl force-pushed the NRFX-7077_Test-build-error-in-the-logging-subsystem branch from 42ae3d6 to 02a49e8 Compare February 12, 2025 08:29
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Feb 12, 2025
Include:
tests: subsys: logging: Test with CONFIG_LOG disabled
nrfconnect/sdk-zephyr#2472
zephyrproject-rtos/zephyr#85383

Signed-off-by: Sebastian Głąb <[email protected]>
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Feb 12, 2025
Include:
tests: subsys: logging: Test with CONFIG_LOG disabled
nrfconnect/sdk-zephyr#2472
zephyrproject-rtos/zephyr#85383

Signed-off-by: Sebastian Głąb <[email protected]>
@rlubos rlubos merged commit b650839 into nrfconnect:main Feb 12, 2025
15 checks passed
@nordic-segl nordic-segl deleted the NRFX-7077_Test-build-error-in-the-logging-subsystem branch February 12, 2025 10:00
nordic-segl added a commit to nordic-segl/sdk-nrf that referenced this pull request Feb 12, 2025
Include:
tests: subsys: logging: Test with CONFIG_LOG disabled
nrfconnect/sdk-zephyr#2472
zephyrproject-rtos/zephyr#85383

Signed-off-by: Sebastian Głąb <[email protected]>
rlubos pushed a commit to nrfconnect/sdk-nrf that referenced this pull request Feb 12, 2025
Include:
tests: subsys: logging: Test with CONFIG_LOG disabled
nrfconnect/sdk-zephyr#2472
zephyrproject-rtos/zephyr#85383

Signed-off-by: Sebastian Głąb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants