Files
esp-protocols/components/mdns/tests/host_unit_test/unity/enable_testing.cmake
David Cermak bed116d98b feat(mdns): Refactor mdns library (stage #1)
The MDNS component has been refactored from a single monolithic file mdns.c
into a set of focused modules with clear responsibilities.
This restructuring maintains the same functionality while improving code organization,
maintainability, and testability.
In the stage#2 we will focus on module based tests
In the stage#3 we will focus on small scale refators and optimizations
2025-11-25 17:30:27 +01:00

12 lines
422 B
CMake

enable_testing()
add_test(NAME ${PROJECT_NAME} COMMAND ${PROJECT_NAME} --test)
add_custom_target(generate_mocks
DEPENDS ${MOCK_OUTPUTS}
)
add_dependencies(${PROJECT_NAME} generate_mocks)
# Add sanitizers: Please comment out when debugging
target_link_options(${PROJECT_NAME} PRIVATE -fsanitize=address -fsanitize=undefined)
target_compile_options(${PROJECT_NAME} PRIVATE -fsanitize=address -fsanitize=undefined)