forked from espressif/esp-idf
freertos-smp: Fix legacy_pcnt_driver for FreeRTOS SMP config
This commit increases the memory leak threshold for legacy_pcnt_driver test from 300 bytes to 400 bytes. The test fails due to a breach of the threshold value by 8 bytes.
This commit is contained in:
@@ -8,7 +8,12 @@
|
||||
#include "unity_test_runner.h"
|
||||
#include "esp_heap_caps.h"
|
||||
|
||||
#ifndef CONFIG_FREERTOS_SMP
|
||||
#define TEST_MEMORY_LEAK_THRESHOLD (-300)
|
||||
#else
|
||||
// TODO: IDF-5290
|
||||
#define TEST_MEMORY_LEAK_THRESHOLD (-400)
|
||||
#endif // CONFIG_FREERTOS_SMP
|
||||
|
||||
static size_t before_free_8bit;
|
||||
static size_t before_free_32bit;
|
||||
|
Reference in New Issue
Block a user