Commit Graph

4 Commits (7efa2f78b9d96fa0c6119e1237932a2e2c451921)

Author SHA1 Message Date
Przemyslaw Stekiel 7efa2f78b9 Provide fix for Issue #5468.
Issue: https://github.com/ARMmbed/mbed-os/issues/5468
Increased DELTA value for Timer and Low Power Timer tests.
2017-11-17 14:55:50 +00:00
Przemyslaw Stekiel 329dfc5ead Move Timer test, modify ASERT macros, fix comments.
Move Timer test to TESTS/mbed_drivers/ directory which is more suitable.
Fix few comments which are incorrect.
Use more relevant ASERT macros.
2017-11-17 14:55:50 +00:00
Przemyslaw Stekiel 1886e8b954 Provide fix for Timer and LowPowerTimer tests (time accumulation).
LowPoterTimer test gives sometimes failed result while testing measured time accumulation. The check which verifies if total number of elapsed milliseconds is valid fails. Test assumes that delta value equal to 1 ms is sufficient for all test cases, which is not true since in case where time measurement is performed few times in sequence the measurement error also accumulates and 1 ms might be not enough. To solve this problem delta value for milliseconds tests must be updated.
2017-11-17 14:55:50 +00:00
Przemyslaw Stekiel 6e0cd31525 Add Low Power Timer test. 2017-10-20 16:18:28 +01:00