jingfei195887 opened a new pull request, #22420:
URL: https://github.com/apache/nuttx/pull/22420
## Summary
Document the file and inode reference counting suite introduced by
apache/nuttx-apps#4164. Describe its configuration dependencies, command,
temporary resources, nine cases, conditional RAMMAP coverage and validation
limits. The existing testing toctree discovers the new page.
## Impact
- Documentation: YES, new `applications/testing/refstest` page.
- Runtime, APIs, configuration definitions, build tools, drivers, hardware,
security policy and user compatibility: NO changes.
- Dependency: the documented command is provided by apache/nuttx-apps#4164.
This is the companion documentation for that same feature.
## Testing
I confirm that changes are verified on the local setup and work as intended.
Host: Linux x86_64, GCC 13.1.0. Target: `sim:nsh`.
Base `695d40366dabf7f239c297fdbe57b2473c90cab3`; head
`2cbb0c3cb7b13104b033425e5c992a04ca79186e`.
Before change: no refstest page exists in the testing documentation.
After change: Docutils 0.22.4 parses the new RST with warnings treated as
errors.
The testing index's existing `*/index*` glob includes the page. The
documented
command and prerequisites were checked against apps #4164, whose Make and
CMake
simulator runs cover the RAMMAP enabled/disabled configurations, FDCHECK and
intentional assertion failures.
This documentation commit also passed checkpatch, Make/CMake and OSTest
locally.
No complete Sphinx site build or real hardware run was performed.
```text
HEAD 2cbb0c3cb7b13104b033425e5c992a04ca79186e
Docutils 0.22.4 parse with halt_level=2: PASS
```
<details>
<summary>Local Make/CMake/OSTest gate</summary>
```text
target : nuttx
branch : fs/refstest-docs
head : 2cbb0c3cb7b13104b033425e5c992a04ca79186e
subject : docs: describe file and inode reference counting tests
commits : 1
base : 695d40366d (merge-base with upstream/master)
behind : 0 commits of upstream/master
nuttx : 2cbb0c3cb7
apps : 13ec1c27bd
options : none
host : Linux x86_64, gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0
checkpatch: rc=0
signer : jingfei <[email protected]>
commits missing your Signed-off-by: 0
make build: rc=0
warnings in changed files: 0
ostest: Exiting with status 0
cmake reconfigure: rc=0
cmake build: rc=0
worktree tracked changes after: 0
RESULT: PASS
```
</details>
## PR verification Self-Check
- [x] This PR introduces only one functional change.
- [x] I have updated all required description fields above.
- [x] My PR follows the contributing guidelines for scope, coding style and
testing.
- [ ] My PR is still work in progress (not ready for review).
- [x] My PR is ready for review and can be safely merged into the 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]