The RTC test validate proper implementation of the RTC hal.
To run the RTC hal tests use the command:
mbed test -t <toolchain> -m <target> -n tests-mbed_hal-rtc*