Skip to content

Conversation

@pdgendt
Copy link
Contributor

@pdgendt pdgendt commented Nov 28, 2025

Add a switch/case like variant of the COND_CODE_1 macro where the first flag that equals 1 has its value expanded, with a default fallback.

@zephyrbot zephyrbot added area: Testsuite Testsuite area: Tests Issues related to a particular existing or missing test area: Base OS Base OS Library (lib/os) labels Nov 28, 2025
Add a switch/case like variant of the COND_CODE_1 macro where the first
flag that equals 1 has its value expanded, with a default fallback.

Signed-off-by: Pieter De Gendt <[email protected]>
Add test cases for the COND_CASE_1 macro.

Signed-off-by: Pieter De Gendt <[email protected]>
@sonarqubecloud
Copy link

Please retry analysis of this Pull-Request directly on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Base OS Base OS Library (lib/os) area: Tests Issues related to a particular existing or missing test area: Testsuite Testsuite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants