ud3tn/test/unit/testud3tn_unity.h
Felix Walter 62d563449f test: Remove the Unity wrappers for memory allocation functions
This adds a custom header that does explicitly not include the Unity
wrappers for malloc, free, etc. by defining the guard used by that header
file. This way we can remove the wrappers provided via the linker
altogether.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-05-15 11:39:29 +02:00

12 lines
382 B
C

// SPDX-License-Identifier: BSD-3-Clause OR Apache-2.0
#ifndef TESTUD3TN_UNITY_H_
#define TESTUD3TN_UNITY_H_
// Prevent the Unity malloc() overrides from being included. We want to use the
// normal malloc() and free() functions in our test and Unity should not mess
// with them.
#define UNITY_FIXTURE_MALLOC_OVERRIDES_H_
#include "unity_fixture.h"
#endif // TESTUD3TN_UNITY_H_