This is an automated email from the ASF dual-hosted git repository. GUIDINGLI pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit e3f364c554eb464571bc375585ea3981ab534e63 Author: Megha Rajput <[email protected]> AuthorDate: Wed Nov 11 19:49:20 2026 +0000 testing/drivertest: Document ADC open lifecycle test. Document the cmocka_driver_adc_open regression test, including failed setup, retry, reference counting, and shutdown verification. Assisted-by: ChatGPT:GPT-6 Signed-off-by: Megha Rajput <[email protected]> --- Documentation/applications/testing/drivertest/index.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/applications/testing/drivertest/index.rst b/Documentation/applications/testing/drivertest/index.rst index f89a7fb8d31..adbbe753b1c 100644 --- a/Documentation/applications/testing/drivertest/index.rst +++ b/Documentation/applications/testing/drivertest/index.rst @@ -40,6 +40,10 @@ dependencies are enabled are included in a given NuttX image. ``cmocka_driver_i2c_read``, ``cmocka_driver_gpio``, ``cmocka_driver_relay``, ``cmocka_driver_uart``, and ``cmocka_driver_audio``. +* ADC upper-half lifecycle regression: ``cmocka_driver_adc_open`` registers a + mock lower half and verifies that a failed setup does not retain an open + reference, a subsequent open retries setup, and closing it calls shutdown + exactly once. It does not require physical ADC hardware. * Display and input tests: ``cmocka_driver_framebuffer``, ``cmocka_driver_lcd``, and ``cmocka_driver_touchpanel``. * Power-management tests: ``cmocka_driver_cpufreq``,
