Skip to content

tests: Cover API of scn_u32_hex in the unittest#20458

Merged
Teufelchen1 merged 1 commit intoRIOT-OS:masterfrom
Teufelchen1:chore/fmt_test_4
Mar 12, 2024
Merged

tests: Cover API of scn_u32_hex in the unittest#20458
Teufelchen1 merged 1 commit intoRIOT-OS:masterfrom
Teufelchen1:chore/fmt_test_4

Conversation

@Teufelchen1
Copy link
Copy Markdown
Contributor

Contribution description

Hej 🦈

This adds the test case to the unit-tests of scn_u32_hex() in which parsing is aborted on non hex characters.

Testing procedure

make -C tests/unittests/ tests-fmt term

Issues/PRs references

This lacking coverage was brought up twice! In #19894 and #19027

There are still test holes remaining in that unittest...

@Teufelchen1 Teufelchen1 requested a review from miri64 as a code owner March 12, 2024 10:50
@github-actions github-actions bot added the Area: tests Area: tests and testing framework label Mar 12, 2024
@Teufelchen1 Teufelchen1 requested a review from kfessel March 12, 2024 10:50
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Mar 12, 2024
@riot-ci
Copy link
Copy Markdown

riot-ci commented Mar 12, 2024

Murdock results

✔️ PASSED

4917b59 tests: Cover API of scn_u32_hex in the unittest

Success Failures Total Runtime
16 0 17 30s

Artifacts

@Teufelchen1 Teufelchen1 added this pull request to the merge queue Mar 12, 2024
Merged via the queue into RIOT-OS:master with commit 03c05f7 Mar 12, 2024
@MrKevinWeiss MrKevinWeiss added this to the Release 2024.04 milestone Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants