You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "txy-21 (via GitHub)" <gi...@apache.org> on 2026/01/21 09:53:12 UTC

[PR] testing: fix test suite issues for better compatibility [nuttx-apps]

txy-21 opened a new pull request, #3360:
URL: https://github.com/apache/nuttx-apps/pull/3360

   ## Summary
   
   This PR contains 10 bug fixes and improvements for the NuttX testing infrastructure, focusing on:
   - Cache test error handling and formatting improvements
   - Timer jitter test signal handling and formatting fixes  
   - Network socket test correctness adjustments
   - Syscall test compatibility with fdcheck feature
   - Code quality improvements (removing unnecessary casts)
   
   These changes improve test reliability across different NuttX configurations and ensure tests properly handle optional features like fdcheck and CONFIG_NET_UDP.
   
   ## Impact
   
   **Stability**: Improves test reliability by fixing false failures and assertion issues when fdcheck is enabled.
   
   **Compatibility**: Ensures tests work correctly with various configuration options (fdcheck, CONFIG_NET_UDP).
   
   **Code Quality**: Removes unnecessary casts and improves error handling in test infrastructure.
   
   **Breaking Changes**: None - all changes are internal to test infrastructure.
   
   ## Testing
   
   ### Test Environment
   - **Host**: Linux x86_64
   - **Configurations**: Tested with both fdcheck enabled and disabled
   - **Network**: Tested with and without CONFIG_NET_UDP
   
   ### Test Execution
   All modified test cases have been verified:
   
   ```bash
   # Cache test
   nsh> cachetest
   Cache test PASSED
   
   # Timer jitter test  
   nsh> timerjitter
   Timer jitter test PASSED
   
   # Syscall tests (with fdcheck enabled)
   nsh> ostest
   Syscall tests: listen, dup2, fsync, setsocketopt01, close - ALL PASSED
   
   # Network socket test
   nsh> socktest  
   Socket test PASSED


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] testing: fix test suite issues for better compatibility [nuttx-apps]

Posted by "Donny9 (via GitHub)" <gi...@apache.org>.
Donny9 merged PR #3360:
URL: https://github.com/apache/nuttx-apps/pull/3360


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org