From 2ac44f1e7653af1a14af7c1752f9f46edc400f15 Mon Sep 17 00:00:00 2001 From: Jakob Hasse Date: Mon, 5 Jul 2021 10:38:22 +0800 Subject: [PATCH] [spi_flash]: fixed test disabling * MR 14212 accidentally disabled the test "spi_flash deadlock with high priority busy-waiting task" for all targets except S3 without legacy flash implementation. The test is now disabled for all targets, since the same issue appeared on other targets, too. --- components/spi_flash/test/test_spi_flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/spi_flash/test/test_spi_flash.c b/components/spi_flash/test/test_spi_flash.c index 954412da4d..3cbca1f790 100644 --- a/components/spi_flash/test/test_spi_flash.c +++ b/components/spi_flash/test/test_spi_flash.c @@ -338,7 +338,7 @@ TEST_CASE("Test spi_flash read/write performance", "[spi_flash]") #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 !TEMPORARY_DISABLED_FOR_TARGETS(ESP32, ESP32S2, ESP32S3, ESP32C3) #if portNUM_PROCESSORS > 1 TEST_CASE("spi_flash deadlock with high priority busy-waiting task", "[spi_flash][esp_flash]") @@ -398,7 +398,7 @@ TEST_CASE("spi_flash deadlock with high priority busy-waiting task", "[spi_flash } #endif // portNUM_PROCESSORS > 1 -#endif // !CONFIG_SPI_FLASH_USE_LEGACY_IMPL && CONFIG_IDF_TARGET_ESP32S3 +#endif // !TEMPORARY_DISABLED_FOR_TARGETS(ESP32, ESP32S2, ESP32S3, ESP32C3) TEST_CASE("WEL is cleared after boot", "[spi_flash]") {