mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
heap: add light poisoning configuration to the tests.
Relates to IDF-2653
This commit is contained in:
parent
d902b4e7db
commit
c4dc3acba9
@ -9,8 +9,8 @@
|
||||
#include <string.h>
|
||||
#include <test_utils.h>
|
||||
|
||||
//This test only makes sense with poisoning disabled
|
||||
#ifndef CONFIG_HEAP_POISONING_COMPREHENSIVE
|
||||
//This test only makes sense with poisoning disabled (light or comprehensive)
|
||||
#if !defined(CONFIG_HEAP_POISONING_COMPREHENSIVE) && !defined(CONFIG_HEAP_POISONING_LIGHT)
|
||||
|
||||
#define NUM_POINTERS 128
|
||||
#define ITERATIONS 10000
|
||||
|
@ -573,7 +573,7 @@ UT_046:
|
||||
|
||||
UT_C3:
|
||||
extends: .unit_test_c3_template
|
||||
parallel: 27
|
||||
parallel: 28
|
||||
tags:
|
||||
- ESP32C3_IDF
|
||||
- UT_T1_1
|
||||
|
4
tools/unit-test-app/configs/heap_light_poison
Normal file
4
tools/unit-test-app/configs/heap_light_poison
Normal file
@ -0,0 +1,4 @@
|
||||
CONFIG_IDF_TARGET="esp32"
|
||||
TEST_COMPONENTS=heap
|
||||
CONFIG_HEAP_POISONING_COMPREHENSIVE=n
|
||||
CONFIG_HEAP_POISONING_LIGHT=y
|
4
tools/unit-test-app/configs/heap_light_poison_c3
Normal file
4
tools/unit-test-app/configs/heap_light_poison_c3
Normal file
@ -0,0 +1,4 @@
|
||||
CONFIG_IDF_TARGET="esp32c3"
|
||||
TEST_COMPONENTS=heap
|
||||
CONFIG_HEAP_POISONING_COMPREHENSIVE=n
|
||||
CONFIG_HEAP_POISONING_LIGHT=y
|
Loading…
Reference in New Issue
Block a user