esp-idf/tools/unit-test-app/components/test_utils
Ivan Grokhotkov d3724dc35d esp_timer: fix occasional failures in "monotonic values" test
1. ref_clock used in unit tests occasionally produces time off by ~100
microseconds shortly after being started. Add a delay to let
ref_clock stabilise, until the cause is found.

2. Reduce roundoff error accumulation which would occasionally cause
the test to fail, by choosing an overflow value which can be divided
by APB frequency.

3. Move time sampling part of the test into an IRAM function to
reduce variations due to cache behavior.

4. Remove calculation of "standard deviation" in the test, as what was
calculated was not actually standard deviation, and it did not add any
useful information.
2019-02-26 02:01:29 +00:00
..
include unit-test-app: support passing parameter with signals 2019-01-10 09:51:17 +00:00
CMakeLists.txt unity: separate common and IDF specific functionality 2018-11-19 12:36:31 +08:00
component.mk unity: separate common and IDF specific functionality 2018-11-19 12:36:31 +08:00
Kconfig Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
ref_clock.c esp_timer: fix occasional failures in "monotonic values" test 2019-02-26 02:01:29 +00:00
test_runner.c unity: separate common and IDF specific functionality 2018-11-19 12:36:31 +08:00
test_utils.c unit-test-app: support passing parameter with signals 2019-01-10 09:51:17 +00:00