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.
This commit is contained in:
houchenyao 2018-09-06 11:54:23 +08:00
parent 22ac8cf424
commit f647ea81cc

View File

@ -445,7 +445,8 @@ TEST_CASE("PCNT basic function test", "[pcnt][test_env=UT_T1_PCNT]")
* 4. PCNT_EVT_H_LIM * 4. PCNT_EVT_H_LIM
* 5. PCNT_EVT_L_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 = { pcnt_config_t config = {
.pulse_gpio_num = PCNT_INPUT_IO, .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(); 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 = { pcnt_config_t config = {
.pulse_gpio_num = PCNT_INPUT_IO, .pulse_gpio_num = PCNT_INPUT_IO,