Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix: add test case for CanMsgRingBuffer. #207

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

Merged
aentinger merged 1 commit into arduino:master from jboynes:fix_canmsg_volatile
Sep 8, 2023

Conversation

@jboynes
Copy link
Contributor

@jboynes jboynes commented Sep 7, 2023

Fixes a deprecated use of volatile in CanMsgRingbuffer.
Also added a basic testcase to make sure the CPP file is compiled/tested.

Relies on PR #206 to reliably run the tests under C++20

Copy link

codecov-commenter commented Sep 7, 2023
edited
Loading

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.52%. Comparing base (ebe1fab) to head (1765628).
⚠️ Report is 56 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@
## master #207 +/- ##
==========================================
- Coverage 95.61% 95.52% -0.09% 
==========================================
 Files 14 16 +2 
 Lines 1048 1072 +24 
==========================================
+ Hits 1002 1024 +22 
- Misses 46 48 +2 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aentinger aentinger changed the title (削除) Fix CanMsgRingbuffer volatile (削除ここまで) (追記) Fix: add test case for CanMsgRingBuffer. (追記ここまで) Sep 8, 2023
Copy link
Contributor

@aentinger aentinger left a comment

Choose a reason for hiding this comment

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

I don't see any change pertaining volatile (unless you refer to the change of unary increment/decrement operators to a binary arithmetic operation), but I do appreciate adding the test case.

@aentinger aentinger merged commit f77c4b5 into arduino:master Sep 8, 2023
@jboynes jboynes deleted the fix_canmsg_volatile branch September 8, 2023 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@aentinger aentinger aentinger approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /