Merge branch 'ci/alternative_flash_performance' into 'master'

ci: only run flash performance test on specified runners

Closes IDF-2520

See merge request espressif/esp-idf!11673
pull/6365/head
Michael (XIAO Xufeng) 2021-01-04 15:35:53 +08:00
commit 56cdf4268f
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -902,6 +902,7 @@ static void test_write_large_buffer(const esp_partition_t* part, const uint8_t *
read_and_check(part, source, length);
}
#if !CONFIG_SPIRAM
typedef struct {
uint32_t us_start;
size_t len;
@ -1043,8 +1044,9 @@ static void test_flash_read_write_performance(const esp_partition_t *part)
free(data_read);
}
FLASH_TEST_CASE("Test esp_flash read/write performance", test_flash_read_write_performance);
FLASH_TEST_CASE_3("Test esp_flash read/write performance", test_flash_read_write_performance);
TEST_CASE("Test esp_flash read/write performance", "[esp_flash][test_env=UT_T1_ESP_FLASH]") {flash_test_func(test_flash_read_write_performance, 1);}
#endif // !CONFIG_SPIRAM
FLASH_TEST_CASE_3("Test esp_flash read/write performance"", 3 chips", test_flash_read_write_performance);
#ifdef CONFIG_SPIRAM_USE_MALLOC