-
Notifications
You must be signed in to change notification settings - Fork 3k
Provide fixes for Timer and LowPowerTimer tests. #5403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ac38154
to
825584d
Compare
From the commit msg:
Seems like msg was truncated, is that correct? Why are you squashing these 3 changes? I do not see which one is bugfix and which one are fix comments / minor issues (what are minor issues) ? It might make sense to split this into at least 2 commits. |
825584d
to
992a43f
Compare
Fixed broken commit message - sorry for that. |
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.
Move Timer test to TESTS/mbed_drivers/ directory which is more suitable. Fix few comments which are incorrect. Use more relevant ASERT macros.
Issue: ARMmbed#5468 Increased DELTA value for Timer and Low Power Timer tests.
992a43f
to
78e1362
Compare
Spitted into 2 commits as suggested and added additional commit with fix for issue #5468. |
/morph build |
Build : SUCCESSBuild number : 515 Triggering tests/morph test |
/morph test |
Exporter Build : SUCCESSBuild number : 130 |
/morph test |
Test : SUCCESSBuild number : 324 |
@mprse Test passed, this should be good to go! |
Description
Status
READY
Migrations
NO