tests/devfs: move tests-devfs out of unittests#11855
Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom Jul 17, 2019
Merged
Conversation
This was referenced Jul 17, 2019
miri64
requested changes
Jul 17, 2019
| @@ -23,9 +23,7 @@ | |||
| #include "fs/devfs.h" | |||
| #include "random.h" | |||
|
|
|||
| #include "embUnit/embUnit.h" | |||
|
|
|||
| #include "tests-devfs.h" | |||
Member
There was a problem hiding this comment.
Since you removed the include, I guess the header you moved can also be removed instead.
Contributor
Author
There was a problem hiding this comment.
Oops, I thought I removed it.
Member
|
Confirmed unittests to be running again on |
This moves unittests/tests-devfs to its own test. It prevents requiring `periph_hwrng` in the `unittests`.
8bd378d to
78ca09d
Compare
Contributor
Author
|
PR squashed. @MrKevinWeiss do you want to backport it too ? |
Contributor
Author
|
Thank you for the review. |
Contributor
Author
|
Backport provided in #11858 |
This file contains hidden or 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
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.
Contribution description
This moves unittests/tests-devfs to its own test.
It prevents requiring
periph_hwrngin theunittests.Testing procedure
I tried compiling the test with
buildtestandBUILD_IN_DOCKERand all supported boards compiled. This will be tested by CI.The test also succeeds on both
nativeandnrf52dklocally, and should also in CI.RIOT_CI_BUILD=1 BOARD=nrf52dk make --no-print-directory -C tests/devfs/ flash testThe
iotlab-m3can again compile and succeed with thetests/unittests.RIOT_CI_BUILD=1 BOARD=iotlab-m3 make -C tests/unittests/ flash testIssues/PRs references
unittestsnot compiling oniotlab-m3was found during Release testing 2019.07-RC1RIOT-OS/Release-Specs#128 (comment)
Splitting the test out was mentioned in the introduction PR #7421 (review)