anjiahao1 opened a new pull request, #4160:
URL: https://github.com/apache/nuttx-apps/pull/4160
## Summary
Add four mm test cases to testing/testsuites:
- mm_test_013: drive the UBSan runtime entry points directly, except
the unreachable handler which panics by design.
- mm_test_010: mempool initialization, expansion, throttling, waiting,
record iterators and the /proc/mempool info/dump commands.
- mm_test_011: mempool record and iterator paths.
- mm_test_012: mempool_multiple in pool-count, dictionary,
binary-search and chunk modes, including allocation failure handling.
Register the cases in the mm test suite and add the UBSan include path.
Upstream already has mm_test_001..009, so the UBSan case is numbered
013 to avoid colliding with the existing mm_test_009.
## Impact
* Is new feature added? NO - tests only.
* Impact on user: NO
* Impact on build: NO - the tests are enabled by CONFIG_CM_MM_TEST.
* Impact on hardware: NO
* Impact on documentation: NO
* Impact on security: NO
* Impact on compatibility: NO
## Testing
Build host: Linux x86_64, NuttX CI Docker image.
Configuration: sim:nsh with CONFIG_TESTS_TESTSUITES, CONFIG_CM_MM_TEST,
CONFIG_TESTING_CMOCKA and CONFIG_MM_UBSAN; the test application builds
with the new cases.
## PR verification
* [x] This PR introduces only one functional change.
* [x] I have updated all required description fields above.
* [x] My PR adheres to Contributing Guidelines and Documentation.
* [ ] My PR is still work in progress (not ready for review).
* [x] My PR is ready for review and can be safely merged into a codebase.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]