-
Notifications
You must be signed in to change notification settings - Fork 2
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
Test error handling for SPI code #315
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #315 +/- ##
==========================================
- Coverage 83.35% 79.34% -4.02%
==========================================
Files 37 47 +10
Lines 1352 1578 +226
Branches 50 57 +7
==========================================
+ Hits 1127 1252 +125
- Misses 225 326 +101 ☔ View full report in Codecov by Sentry. |
7e5fde1
to
994e1bb
Compare
cd593b3
to
80b9b51
Compare
PatrickKa
requested changes
Aug 29, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FlashMock.hpp
only needs to declare what is necessary for mocking in addition toFlash.hpp
. That means you need to remove everything up to and includingextern hal::Spi spi;
and includeFlash.hpp
instead. Also remove the duplicated comments at the top of the file.
3c9064f
to
72944b6
Compare
ee5999c
to
a048173
Compare
afebffb
to
e7de75c
Compare
1969100
to
54f7c8a
Compare
PatrickKa
approved these changes
Sep 23, 2024
191119d
to
199a3f9
Compare
fe01b0d
to
09d9d18
Compare
51e57a4
to
d5a484f
Compare
1ac2489
to
b202cf8
Compare
61c8644
to
4b579ed
Compare
8a7f774
to
94f23e7
Compare
This makes it easier to avoid cyclic dependencies.
The resume functions were not enough. We really needed the threads.
Add one for the SPI supervisor test.
4a87679
to
6193951
Compare
When building for sanitizers we should either use the debug or release flags. Useing `-O2` which is neither used for release nor debug builds is weird.
6193951
to
7902cfb
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #305