daniel-p-carvalho opened a new pull request, #3874: URL: https://github.com/apache/nuttx-apps/pull/3874
## Summary Add `taskwdt_test` (`CONFIG_TESTING_TASKWDT`), a test of the task watchdog supervisor added by apache/nuttx#NNNN (`CONFIG_TASKWDT`, `/dev/taskwdt`). Run it without arguments for the list of cases. The cases that must not reset the system print `PASS` or `FAIL`: feeding with `write()` and `WDIOC_KEEPALIVE`, `'V'` and `WDIOC_STOP`/`WDIOC_START`, `WDIOC_GETSTATUS`, error codes, several channels from several threads, and a leak check over 1000 open/close cycles. The others stop feeding on purpose, close or delete the owner of an armed channel, lock the scheduler or disable interrupts, and expect the system to reset. The option depends on `TASKWDT`, which only exists with the nuttx PR, so this change does not build anything until then and can be merged first. ## Impact New test application, off by default, no effect on existing configurations. ## Testing Run on the `sim:taskwdt` configuration and on an EV49N51A board (PIC32MZ-W1) with the supervisor of the nuttx PR; all the cases behave as described there (the results and logs are in that PR). Build host: Linux x86_64, gcc and Microchip XC32 v6.00. `tools/checkpatch.sh -c -u -m -g` is clean. -- 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]
