-
Notifications
You must be signed in to change notification settings - Fork 2k
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
tests/devfs: move tests-devfs out of unittests #11855
Conversation
@@ -23,9 +23,7 @@ | |||
#include "fs/devfs.h" | |||
#include "random.h" | |||
|
|||
#include "embUnit/embUnit.h" | |||
|
|||
#include "tests-devfs.h" |
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.
Since you removed the include, I guess the header you moved can also be removed instead.
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.
Oops, I thought I removed it.
Confirmed unittests to be running again on |
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.
ACK, please squash
This moves unittests/tests-devfs to its own test. It prevents requiring `periph_hwrng` in the `unittests`.
8bd378d
to
78ca09d
Compare
PR squashed. @MrKevinWeiss do you want to backport it too ? |
Thank you for the review. |
Backport provided in #11858 |
Contribution description
This moves unittests/tests-devfs to its own test.
It prevents requiring
periph_hwrng
in theunittests
.Testing procedure
I tried compiling the test with
buildtest
andBUILD_IN_DOCKER
and all supported boards compiled. This will be tested by CI.The test also succeeds on both
native
andnrf52dk
locally, and should also in CI.RIOT_CI_BUILD=1 BOARD=nrf52dk make --no-print-directory -C tests/devfs/ flash test
The
iotlab-m3
can again compile and succeed with thetests/unittests
.RIOT_CI_BUILD=1 BOARD=iotlab-m3 make -C tests/unittests/ flash test
Issues/PRs references
unittests
not compiling oniotlab-m3
was found during Release testing 2019.07-RC1RIOT-OS/Release-Specs#128 (comment)
Splitting the test out was mentioned in the introduction PR #7421 (review)