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