Prechádzať zdrojové kódy

CI: disable performance check for PSRAM config

The cache compensated timer performance check ocasionally
wrong result for psram_2 config. Disabled CI test for now.
Marius Vikhammer 4 rokov pred
rodič
commit
fa62dfd5f9
1 zmenil súbory, kde vykonal 5 pridanie a 1 odobranie
  1. 5 1
      components/esp32/test/test_sha.c

+ 5 - 1
components/esp32/test/test_sha.c

@@ -62,9 +62,13 @@ TEST_CASE("Test esp_sha()", "[hw_crypto]")
     ESP_LOGI(TAG, "esp_sha() 32KB SHA512 in %u us", us_sha512);
 
     free(buffer);
-
+/* ccomp timer seems to sometimes give wrong results in psram config,
+   disable check for now, IDF-2993
+*/
+#ifndef CONFIG_SPIRAM
     TEST_PERFORMANCE_LESS_THAN(TIME_SHA1_32KB, "%dus", us_sha1);
     TEST_PERFORMANCE_LESS_THAN(TIME_SHA512_32KB, "%dus", us_sha512);
+#endif
 }
 
 TEST_CASE("Test esp_sha() function with long input", "[hw_crypto]")