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

unittests: fix assertion for nanocoap_cache_key_compare() #18125

Merged
merged 1 commit into from
May 23, 2022

Conversation

miri64
Copy link
Member

@miri64 miri64 commented May 23, 2022

Contribution description

The doc states only that the result is <0, not -1. The result isn't the latter for some platforms (see https://github.com/RIOT-OS/RIOT/runs/6534330788?check_suite_focus=true#step:13:696)

Testing procedure

Run unittests on e.g. an ARM-Cortex-based platform. On my system there is another failure for tests-pkt ATM which I will also investigate.

Issues/PRs references

None, showed up in weekly release tests.

The doc states only that the result is <0, not -1. The result isn't the
latter for some platforms (see
https://github.com/RIOT-OS/RIOT/runs/6534330788?check_suite_focus=true#step:13:696)
@miri64 miri64 added the Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) label May 23, 2022
@github-actions github-actions bot added the Area: tests Area: tests and testing framework label May 23, 2022
@miri64 miri64 requested review from haukepetersen and cgundogan May 23, 2022 10:26
Copy link
Contributor

@haukepetersen haukepetersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@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 May 23, 2022
@miri64 miri64 merged commit cfefcae into RIOT-OS:master May 23, 2022
@miri64 miri64 deleted the unittests/fix/nanocoap-cache-compare branch May 23, 2022 14:35
@chrysn chrysn added this to the Release 2022.07 milestone Aug 25, 2022
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 Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants