mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-06-05 21:04:45 +00:00
napt: Added unit tests for napt
This commit is contained in:
@@ -36,6 +36,7 @@ add_executable(lwip_unittests ${LWIP_TESTFILES})
|
||||
target_include_directories(lwip_unittests PRIVATE ${LWIP_INCLUDE_DIRS})
|
||||
target_compile_options(lwip_unittests PRIVATE ${LWIP_COMPILER_FLAGS})
|
||||
target_compile_definitions(lwip_unittests PRIVATE ${LWIP_DEFINITIONS} ${LWIP_MBEDTLS_DEFINITIONS})
|
||||
target_link_options(lwip_unittests PRIVATE -Wl,--wrap=mem_free)
|
||||
|
||||
find_library(LIBCHECK check)
|
||||
find_library(LIBM m)
|
||||
|
||||
@@ -51,7 +51,7 @@ endif
|
||||
SYSARCH?=
|
||||
include ../Common.mk
|
||||
|
||||
LDFLAGS:=-lcheck -lm $(LDFLAGS)
|
||||
LDFLAGS:=-lcheck -lm $(LDFLAGS) -Wl,--wrap=mem_free
|
||||
|
||||
ifneq ($(UNAME_S),Darwin)
|
||||
# check installed via brew on Darwin doesn't have a separate subunit library (must be statically linked)
|
||||
|
||||
Reference in New Issue
Block a user