Build all RTC drivers test adjustments (tstdrv-bldall-rtc-adj)

Overview

With this snippet, the user can create the Zephyr build all RTC drivers standard test suites and also run them successfully.

Programming

Correct snippet designation must be entered when you invoke west build. For example:

west build -b native_sim \
           -d build/native_sim \
           -p always \
           -S tstdrv-bldall-rtc-adj \
           zephyr/tests/drivers/build_all/rtc
./build/native_sim/zephyr/zephyr.exe -stop_at=2

Note

Be aware, error messages for runs on target are normal and expected for mocked hardware components such as test UART, test SPI, or test I2C.

Testing

Correct snippet designation must be entered when you invoke west twister, either directly on the command line or as an alternative test specification. For example:

west twister --alt-config-root bridle/zephyr/alt-config/tests/drivers/build_all/rtc \
             --testsuite-root zephyr/tests/drivers/build_all/rtc