heap: RE-enable ESP32C2 test in test_apps

This commit is contained in:
Guillaume Souchere
2022-12-14 09:22:01 +01:00
parent 490216a2ac
commit 327bf0d608
4 changed files with 21 additions and 18 deletions

View File

@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
/*
Generic test for realloc
*/
@@ -23,8 +28,6 @@ TEST_CASE("realloc shrink buffer in place", "[heap]")
#endif
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2)
//IDF-5167
#ifndef CONFIG_ESP_SYSTEM_MEMPROT_FEATURE
TEST_CASE("realloc shrink buffer with EXEC CAPS", "[heap]")
{
@@ -64,5 +67,4 @@ TEST_CASE("realloc move data to a new heap type", "[heap]")
free(c);
}
#endif
#endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32C2)
#endif // CONFIG_ESP_SYSTEM_MEMPROT_FEATURE