Merge branch 'bugfix/test_sha_psram' into 'release/v4.2'

CI: disable performance check for PSRAM config

See merge request espressif/esp-idf!12829
This commit is contained in:
Anton Maklakov 2021-03-23 03:53:59 +00:00
commit 5151fb52ec

View File

@ -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]")