Repository navigation
testing/nuts: NuttX Unit Test Selection (NUTS) application. - #3278
Merged
Merged
Conversation
Contributor
Author
|
I don't like having all the conditional inclusion of test files in the Makefile/CMakeLists.txt. Does anyone know of a better way? The only other one I can think of is surrounding the contents of the C files with an |
linguini1
requested review from
acassis,
cederom,
hartmannathan,
jerpelea and
simbit18
December 24, 2025 16:55
linguini1
force-pushed
the
nest-cmocka
branch
2 times, most recently
from
December 26, 2025 15:21
673002e to
04ff92a
Compare
linguini1
marked this pull request as ready for review
December 26, 2025 15:21
linguini1
force-pushed
the
nest-cmocka
branch
from
December 26, 2025 15:28
04ff92a to
71db9c2
Compare
linguini1
force-pushed
the
nest-cmocka
branch
from
December 27, 2025 00:21
71db9c2 to
e52d625
Compare
acassis
reviewed
Dec 27, 2025
acassis
reviewed
Dec 27, 2025
Contributor
|
@linguini1 impressive work! Kudos!!! |
xiaoxiang781216
previously approved these changes
Dec 27, 2025
michallenc
previously approved these changes
Dec 27, 2025
Introduces a collection of unit tests for NuttX, built on top of the cmocka framework. Tests are organized into suites/groups which can be individually included/excluded from the build using Kconfig. Output is easily legible and separated with headers including the test group name. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
linguini1
dismissed stale reviews from michallenc and xiaoxiang781216
via
December 27, 2025 16:54
d5ff5ae
linguini1
force-pushed
the
nest-cmocka
branch
from
December 27, 2025 16:54
e52d625 to
d5ff5ae
Compare
acassis
approved these changes
Dec 27, 2025
xiaoxiang781216
approved these changes
Dec 28, 2025
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.
Summary
Introduces a collection of unit tests for NuttX, built on top of the cmocka framework. Tests are organized into suites/groups which can be individually included/excluded from the build using Kconfig. Output is easily legible and separated with headers including the test group name.
Docs provided in this PR: apache/nuttx#17697
Impact
Beginning of a more convenient NuttX testing method, with easily readable
console output for pass/fail results and extendable test collections.
Testing
Run on sim to obtain pass/fail results for the initial test cases: