casaroli opened a new pull request, #4209:
URL: https://github.com/apache/nuttx-apps/pull/4209

   depends-on: apache/nuttx/pull/22583
   
   ## Summary
   
   Add a case `w-exitcode` to `testing/sched/waitstop`. It checks that 
`W_EXITCODE(5, 0)` is the `waitpid()` status of a child that exits with 5, and 
that `W_STOPCODE(SIGSTOP)` is the `waitpid(WUNTRACED)` status of a child that 
`SIGSTOP` stopped. Without the macros, the case prints one FAIL line.
   
   The macros come with apache/nuttx#22583. Merge this PR after it.
   
   ## Impact
   
   Only the waitstop test changes: one new case at the end, and one more line 
in the file comment and the Kconfig help. The other cases do not change.
   
   ## Testing
   
   | Configuration | nuttx master 1af7ac541e4 | nuttx with apache/nuttx#22583 |
   |---|---|---|
   | qemu-armv8a:nsh (flat, arm64, QEMU TCG) + `SIG_DEFAULT`, 
`TESTING_WAITSTOP` | 1 FAIL (`w-exitcode`) | 31 PASS, 1 SKIP |
   | rv-virt:nsh64 (flat, riscv64, QEMU TCG), same options, waitstop twice in 
one boot | 1 FAIL each | 31 PASS, 1 SKIP each |
   
   `tools/checkpatch.sh -c -u -m -g`: pass.
   


-- 
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]

Reply via email to