cederom commented on code in PR #3639:
URL: https://github.com/apache/nuttx-apps/pull/3639#discussion_r3580046899


##########
testing/drivers/drivertest/drivertest_watchdog.c:
##########
@@ -545,11 +785,17 @@ int main(int argc, FAR char *argv[])
 
   const struct CMUnitTest tests[] =
   {
+#ifndef CONFIG_TESTING_DRIVER_TEST_WATCHDOG_ONLY
     cmocka_unit_test_prestate(drivertest_watchdog_feeding, &wdg_state),
     cmocka_unit_test_prestate(drivertest_watchdog_interrupts, &wdg_state),
     cmocka_unit_test_prestate(drivertest_watchdog_loop, &wdg_state),
 #if !defined(CONFIG_ARCH_ARMV7A) || !defined(CONFIG_ARCH_HAVE_TRUSTZONE)
-    cmocka_unit_test_prestate(drivertest_watchdog_api, &wdg_state)
+    cmocka_unit_test_prestate(drivertest_watchdog_api, &wdg_state),
+#endif

Review Comment:
   ```
   #endif
   #endif
   
   #ifdef CONFIG_WATCHDOG_TIMEOUT_NOTIFIER
       cmocka_unit_test_prestate(drivertest_watchdog_notifier, &wdg_state),
   ```



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