OVMS3-idf/components/esp32/test
Ivan Grokhotkov 742f8e7f8a 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 20:38:31 +08:00
..
CMakeLists.txt cmake: Add support for test build 2018-10-20 12:07:24 +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-05 04:22:47 +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_attr.c esp32/test: split rtc_fast test cases 2018-09-29 14:02:16 +08:00
test_backtrace.c freertos: Make backtrace work across interrupts (backport v3.2) 2019-01-29 02:22:04 +08:00
test_delay.c unit test: adapt tests to single core configuration 2017-10-19 21:35:21 +08:00
test_dport.c tests: use new CPU frequency setting API 2018-08-21 13:02:46 +08:00
test_esp_timer.c esp_timer: fix occasional failures in "monotonic values" test 2019-02-28 20:38:31 +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_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_himem.c Spiram: Add option to reserve MMU banks; add himem API to make use of those banks 2018-10-15 14:32:58 +08:00
test_intr_alloc.c driver(interrupt): fix the issue that interrupt might be allocated and freed on different cores 2018-09-26 10:31:09 +08:00
test_ipc.c ipc: fix esp_ipc_call_blocking to return after callback execution is completed 2018-09-07 14:19:35 +05:30
test_libgcc.c esp32: fix addresses of some libgcc functions in ROM ld script 2018-07-02 12:49:57 +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_phy_rtc.c Fix some bugs in phy 2019-01-16 22:04:49 +08:00
test_pm.c tests: use new CPU frequency setting API 2018-08-21 13:02:46 +08:00
test_random.c esp32: Add esp_fill_random() function 2018-09-03 04:39:45 +00:00
test_reset_reason.c esp32/test: split rtc_fast test cases 2018-09-29 14:02:16 +08:00
test_sleep.c reset_reason: fix setting wake stub entry point to 0x80000000 2018-08-27 19:01:03 +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 test: add test case to receive ds2ds packet 2018-12-07 02:04:55 +00:00
test_wifi_lib_git_commit.c check WiFi library git commit id in unit test 2018-07-12 17:53:21 +08:00