Explorar o código

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.
houchenyao %!s(int64=7) %!d(string=hai) anos
pai
achega
f647ea81cc
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      components/driver/test/test_pcnt.c

+ 4 - 2
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,