OVMS3-idf/components/esp32/test
Ivan Grokhotkov 70a9e72e06 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-28 21:58:03 +08:00
..
component.mk esp32/wpa_supplicant: fix some bugs introduced by wifi os adapter 2018-05-31 17:09:40 +08:00
logo.jpg add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
test_aes_sha_rsa.c aes/sha/mpi: Bugfix a use of shared registers. 2018-11-26 02:42:37 +00:00
test_ahb_arb.c component/soc : move dport access header files to soc 2017-05-09 18:06:00 +08:00
test_ahb_arb_asm.S add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
test_backtrace.c freertos: Make backtrace work across interrupts (backport v3.1) 2019-01-30 22:13:28 +08:00
test_delay.c unit test: adapt tests to single core configuration 2017-10-19 21:35:21 +08:00
test_dport.c soc: Change DPORT access 2018-05-14 17:54:57 +05:00
test_esp_timer.c esp_timer: fix occasional failures in "monotonic values" test 2019-02-28 21:58:03 +08:00
test_ets_timer.c spi_flash: Expose an accessor the current SPI flash guard functions 2017-11-20 15:54:31 +11:00
test_exception.c test: support test for UT cases expect to reset 2017-11-07 12:19:39 +08:00
test_fastbus.c unit tests: fix warnings, build with -Werror 2017-10-19 21:35:23 +08:00
test_fastbus_asm.S add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
test_fp.c unit test: adapt tests to single core configuration 2017-10-19 21:35:21 +08:00
test_header_files_md5.c esp32/wpa_supplicant: fix some bugs introduced by wifi os adapter 2018-05-31 17:09:40 +08:00
test_int_wdt.c watchdog: enable INT WDT unit test 2017-12-01 20:10:26 +08:00
test_intr_alloc.c driver(interrupt): fix the issue that interrupt might be allocated and freed on different cores for release/v3.1 2018-10-10 19:22:34 +08:00
test_libgcc.c esp32: fix addresses of some libgcc functions in ROM ld script 2018-07-05 17:18:54 +08:00
test_miniz.c esp32: add [ignore] tag to some unit test cases for CI 2017-01-18 17:08:20 +08:00
test_noinit.c esp32: Add .noinit and .rtc_noinit sections to the linker script 2018-05-16 17:33:37 +05:00
test_phy_rtc.c Fix some bugs in phy 2019-01-16 22:23:04 +08:00
test_pm.c freertos,esp32: automatic light sleep support 2018-05-18 03:14:46 +00:00
test_restart.c test: ut only test app core reset on dual core 2017-11-10 17:53:59 +08:00
test_sleep.c esp32/test: set 60s timeout for one deep sleep case 2018-07-28 15:00:57 +08:00
test_spiram_cache_flush.c Make 80MHz PSRAM work as well, add testcase for weirdness reported on esp32 forums, clean up unused define in psram code 2017-09-14 10:47:44 +08:00
test_stack_check.c esp32: Adds Stack Smashing Protection Feature 2017-11-17 12:08:36 +03:00
test_stack_check_cxx.cpp esp32: Adds Stack Smashing Protection Feature 2017-11-17 12:08:36 +03:00
test_tjpgd.c add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
test_tsens.c esp32,ulp: add tests for TSENS 2017-02-22 14:40:36 +08:00
test_unal_dma.c component/soc : move dport access header files to soc 2017-05-09 18:06:00 +08:00
test_wifi.c unit tests: Only initialise tcpip_adapter() when needed by the test 2018-12-28 09:56:15 +08:00
test_wifi_lib_git_commit.c check WiFi library git commit id in unit test 2018-07-23 20:03:43 +08:00