fix(mdns): Make unit test executable with pytest

This commit is contained in:
David Cermak
2023-01-18 12:54:06 +01:00
parent 2cfffb056e
commit 12cfcb5aed
8 changed files with 88 additions and 59 deletions

View File

@ -1,2 +1,7 @@
idf_component_register(SRC_DIRS "."
PRIV_REQUIRES cmock test_utils mdns)
# This is the project CMakeLists.txt file for the test subproject
cmake_minimum_required(VERSION 3.16)
set(EXTRA_COMPONENT_DIRS ../.. "$ENV{IDF_PATH}/tools/unit-test-app/components")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(mdns_test)