From f647ea81cce2a6ad6bcb21b31dff7d3fcf64418c Mon Sep 17 00:00:00 2001 From: houchenyao Date: Thu, 6 Sep 2018 11:54:23 +0800 Subject: [PATCH] pcnt test: ignore pcnt two test cases a bug caused by pcnt. these two cases has about 10% fail ratio. they fail randomly in CI. stress test needed. they are ignored until this bug fixed. --- components/driver/test/test_pcnt.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/driver/test/test_pcnt.c b/components/driver/test/test_pcnt.c index 96003dc5bd..3bca9e6027 100644 --- a/components/driver/test/test_pcnt.c +++ b/components/driver/test/test_pcnt.c @@ -445,7 +445,8 @@ TEST_CASE("PCNT basic function test", "[pcnt][test_env=UT_T1_PCNT]") * 4. PCNT_EVT_H_LIM * 5. PCNT_EVT_L_LIM * */ -TEST_CASE("PCNT interrupt method test(control IO is high)", "[pcnt][test_env=UT_T1_PCNT][timeout=120]") +// set it ignore: need to debug +TEST_CASE("PCNT interrupt method test(control IO is high)", "[pcnt][test_env=UT_T1_PCNT][timeout=120][ignore]") { pcnt_config_t config = { .pulse_gpio_num = PCNT_INPUT_IO, @@ -541,7 +542,8 @@ TEST_CASE("PCNT interrupt method test(control IO is high)", "[pcnt][test_env=UT_ pcnt_isr_service_uninstall(); } -TEST_CASE("PCNT interrupt method test(control IO is low)", "[pcnt][test_env=UT_T1_PCNT][timeout=120]") +// set it ignore: need to debug +TEST_CASE("PCNT interrupt method test(control IO is low)", "[pcnt][test_env=UT_T1_PCNT][timeout=120][ignore]") { pcnt_config_t config = { .pulse_gpio_num = PCNT_INPUT_IO,