mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-26 20:53:11 +00:00
ut: Move tests back from "esp32" subfolder
DISABLED_FOR_TARGETS macros are used Partly revert "ci: disable unavailable tests for esp32s2beta" This partly reverts commit76a3a5fb48. Partly revert "ci: disable UTs for esp32s2beta without runners" This partly reverts commiteb158e9a22. Partly revert "fix unit test and examples for s2beta" This partly reverts commit9baa7826be. Partly revert "efuse: Add support for esp32s2beta" This partly reverts commitdb84ba868c.
This commit is contained in:
@@ -34,7 +34,7 @@ TEST_CASE("realloc shrink buffer with EXEC CAPS", "[heap]")
|
||||
|
||||
//y needs to fall in a compatible memory area of IRAM:
|
||||
TEST_ASSERT(esp_ptr_executable(y));
|
||||
|
||||
|
||||
free(y);
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ TEST_CASE("realloc move data to a new heap type", "[heap]")
|
||||
TEST_ASSERT_EQUAL_HEX32_ARRAY(buf, b, 64/sizeof(uint32_t));
|
||||
|
||||
// Move data back to DRAM
|
||||
char *c = heap_caps_realloc(b, 48, MALLOC_CAP_8BIT);
|
||||
char *c = heap_caps_realloc(b, 48, MALLOC_CAP_8BIT);
|
||||
TEST_ASSERT_NOT_NULL(c);
|
||||
TEST_ASSERT_NOT_EQUAL(b, c);
|
||||
TEST_ASSERT(heap_caps_check_integrity(MALLOC_CAP_INVALID, true));
|
||||
|
||||
Reference in New Issue
Block a user