Przeglądaj źródła

Merge branch 'bugfix/exclude_spi_flash_deadlock_test_on_s3' into 'master'

[spi_flash]: Disable deadlock test from S3

See merge request espressif/esp-idf!14212
Angus Gratton 4 lat temu
rodzic
commit
b0f68decaf
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      components/spi_flash/test/test_spi_flash.c

+ 4 - 0
components/spi_flash/test/test_spi_flash.c

@@ -337,6 +337,8 @@ TEST_CASE("Test spi_flash read/write performance", "[spi_flash]")
 
 
 #endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32S3)
 #endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32S3)
 
 
+//  TODO: This test is disabled on S3 with legacy impl - IDF-3505
+#if !CONFIG_SPI_FLASH_USE_LEGACY_IMPL && CONFIG_IDF_TARGET_ESP32S3
 
 
 #if portNUM_PROCESSORS > 1
 #if portNUM_PROCESSORS > 1
 TEST_CASE("spi_flash deadlock with high priority busy-waiting task", "[spi_flash][esp_flash]")
 TEST_CASE("spi_flash deadlock with high priority busy-waiting task", "[spi_flash][esp_flash]")
@@ -396,6 +398,8 @@ TEST_CASE("spi_flash deadlock with high priority busy-waiting task", "[spi_flash
 }
 }
 #endif // portNUM_PROCESSORS > 1
 #endif // portNUM_PROCESSORS > 1
 
 
+#endif // !CONFIG_SPI_FLASH_USE_LEGACY_IMPL && CONFIG_IDF_TARGET_ESP32S3
+
 TEST_CASE("WEL is cleared after boot", "[spi_flash]")
 TEST_CASE("WEL is cleared after boot", "[spi_flash]")
 {
 {
     esp_rom_spiflash_chip_t *legacy_chip = &g_rom_flashchip;
     esp_rom_spiflash_chip_t *legacy_chip = &g_rom_flashchip;