Merge branch 'refactor/move_rom_test_to_fpga_only_v4.4' into 'release/v4.4'

esp_rom: miniz test only on FPGA (backport 4.4)

See merge request espressif/esp-idf!22602
This commit is contained in:
Marius Vikhammer 2023-03-06 09:15:24 +08:00
commit 0cd02c044c

View File

@ -5,6 +5,9 @@
#include "sdkconfig.h"
#include "unity.h"
// Testing ROM code is only useful during FPGA testing and chip bringup
#if CONFIG_IDF_ENV_FPGA
// compression/decompression will take off a bunch of memory
// test it only with PSRAM enabled
#ifdef CONFIG_SPIRAM
@ -104,3 +107,4 @@ TEST_CASE("Test miniz compression/decompression", "[rom][miniz]")
#endif //#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32)
#endif // CONFIG_SPIRAM
#endif // CONFIG_IDF_ENV_FPGA