File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
esp_driver_spi/test_apps/master/main
esp_mm/test_apps/mmap_hw/main
esp_psram/test_apps/psram/main
esp_system/test_apps/esp_system_unity_tests/main Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1010#include "esp_newlib.h"
1111
1212// iterator to load partition tables in `test spi bus lock, with flash` will lead memory not free
13- #define TEST_MEMORY_LEAK_THRESHOLD (350 )
13+ #define TEST_MEMORY_LEAK_THRESHOLD (450 )
1414
1515void setUp (void )
1616{
Original file line number Diff line number Diff line change 11/*
2- * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
2+ * SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
33 *
44 * SPDX-License-Identifier: Apache-2.0
55 */
1313 * - traversing all vaddr range to check their attributes
1414 *
1515 * These tests need certain number of internal resources (heap memory), as they uses up the vaddr ranges
16- * On ESP32, it should be around 450
17- * On ESP32S2, it should be around 600
18- * On other chips, it should be around 400
16+ * On ESP32, it should be around 650
17+ * On ESP32S2, it should be around 800
18+ * On other chips, it should be around 600
1919 */
20- #define TEST_MEMORY_LEAK_THRESHOLD (-650 )
20+ #define TEST_MEMORY_LEAK_THRESHOLD (-800 )
2121
2222static size_t before_free_8bit ;
2323static size_t before_free_32bit ;
Original file line number Diff line number Diff line change 88#include "unity_test_runner.h"
99#include "esp_heap_caps.h"
1010
11- #define TEST_MEMORY_LEAK_THRESHOLD (-700 )
11+ #define TEST_MEMORY_LEAK_THRESHOLD (-750 )
1212
1313static size_t before_free_8bit ;
1414static size_t before_free_32bit ;
Original file line number Diff line number Diff line change 1111#include "freertos/task.h"
1212
1313// Some resources are lazy allocated, the threshold is left for that case
14- #define TEST_MEMORY_LEAK_THRESHOLD (-900 )
14+ #define TEST_MEMORY_LEAK_THRESHOLD (-1100 )
1515
1616static size_t before_free_8bit ;
1717static size_t before_free_32bit ;
You can’t perform that action at this time.
0 commit comments