From 4798b7d7759dd3a533edb469cfee5785643e5074 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Fri, 22 Sep 2017 23:16:52 +0800 Subject: [PATCH] unit tests: add test to dump esp_timer stats --- components/esp32/test/test_esp_timer.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/esp32/test/test_esp_timer.c b/components/esp32/test/test_esp_timer.c index 6113395f8..061b86aa4 100644 --- a/components/esp32/test/test_esp_timer.c +++ b/components/esp32/test/test_esp_timer.c @@ -374,3 +374,8 @@ TEST_CASE("esp_timer_get_time returns monotonic values", "[esp_timer][ignore]") vSemaphoreDelete(done_2); ref_clock_deinit(); } + +TEST_CASE("Can dump esp_timer stats", "[esp_timer]") +{ + esp_timer_dump(stdout); +}