mbed-os/TESTS/mbed_drivers
Przemyslaw Stekiel 2ccc11f243 tests-mbed_drivers-rtc: Add one second tolerance in functional tests.
Currently test assumes that 1 sec is long enough to set RTC time and read same time which has been set.
In some cases extra time for synchronisation between clock domains is needed and after setting/reading operations the read value might be different than one which has been set (+1 sec).
Additionally in some cases when lp ticker is based on RTC, the RTC implementation may use mechanism to trace elapsed seconds without modifying RTC registers. In such case it is possible that second will change immediately after setting time.

Add 1 sec tolerance (min possible) for such checks.
2018-05-09 14:41:40 +02:00
..
c_strings Adding test frameworks and test sources 2016-07-20 12:41:26 -05:00
crc Added test for MbedCRC.h 2018-03-23 14:54:24 -05:00
dev_null Adding test frameworks and test sources 2016-07-20 12:41:26 -05:00
echo Modifying echo test to be driven more from the device. 2018-04-23 17:56:13 -05:00
flashiap FlashIAP driver modifications: 2018-02-22 22:48:29 +02:00
generic_tests Adding test frameworks and test sources 2016-07-20 12:41:26 -05:00
lp_ticker Test set for LowPowerTicker class 2017-10-11 15:01:15 +02:00
lp_timeout Tests: Drivers: Timeout: Update unit tests 2018-02-28 17:27:46 +01:00
lp_timer lp_timer test : add a minimum delta value 2018-01-03 15:37:19 +01:00
mem_trace mem_trace tests refactoring 2017-12-22 07:56:56 +01:00
race_test Fix deficiency in the race test 2017-12-01 10:49:50 -06:00
rtc tests-mbed_drivers-rtc: Add one second tolerance in functional tests. 2018-05-09 14:41:40 +02:00
sleep_lock Add a test to validate locking 2017-10-02 11:35:03 -05:00
stl_features Added function header for stl test 2017-09-06 09:51:16 -05:00
ticker test-mbed_drivers-ticker: improve two ticker test accuracy 2018-01-30 13:40:56 +01:00
timeout Tests: Drivers: Timeout: Update unit tests 2018-02-28 17:27:46 +01:00
timer Provide fix for Issue #5468. 2017-11-13 11:03:29 +01:00
timerevent Tests: Drivers: TimerEvent: Add tests 2018-02-23 09:13:37 +01:00