heap: add light poisoning configuration to the tests.

Relates to IDF-2653
This commit is contained in:
Omar Chebib 2021-01-28 19:09:49 +08:00
parent d902b4e7db
commit c4dc3acba9
4 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -573,7 +573,7 @@ UT_046:
UT_C3:
extends: .unit_test_c3_template
parallel: 27
parallel: 28
tags:
- ESP32C3_IDF
- UT_T1_1

View File

@ -0,0 +1,4 @@
CONFIG_IDF_TARGET="esp32"
TEST_COMPONENTS=heap
CONFIG_HEAP_POISONING_COMPREHENSIVE=n
CONFIG_HEAP_POISONING_LIGHT=y

View File

@ -0,0 +1,4 @@
CONFIG_IDF_TARGET="esp32c3"
TEST_COMPONENTS=heap
CONFIG_HEAP_POISONING_COMPREHENSIVE=n
CONFIG_HEAP_POISONING_LIGHT=y