Zepp-Hanzj commented on PR #3639:
URL: https://github.com/apache/nuttx-apps/pull/3639#issuecomment-4977811612

   The failed CI jobs were investigated. The root cause was the CMake condition 
in `testing/drivers/drivertest/CMakeLists.txt`: the `else()` was matching the 
outer `CONFIG_TESTING_DRIVER_TEST` condition, so configurations that did not 
enable the driver test could still register cmocka applications. This caused 
`cmocka.h` errors in the `sim-02` matrix.
   
   Fixed in commit `b4167a1a5`:
   
   - Register `cmocka_driver_watchdog` only when 
`CONFIG_TESTING_DRIVER_TEST_WATCHDOG_ONLY=y`.
   - Keep the original drivertest application block under 
`CONFIG_TESTING_DRIVER_TEST && NOT CONFIG_TESTING_DRIVER_TEST_WATCHDOG_ONLY`.
   - Preserve the normal configuration behavior.
   
   `cmake-format --check` and `git diff --check` pass locally. The branch 
update has triggered a new CI run.
   


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