...
This commit is contained in:
@@ -36,6 +36,9 @@ if (BUILD_TESTS)
|
||||
set(DEVATTR_TEST_APP adc_devattr_test)
|
||||
add_executable(${DEVATTR_TEST_APP} tests/adc_devattr_test.cpp)
|
||||
|
||||
set(NETMSG_TEST_APP adc_netmsg_test)
|
||||
add_executable(${NETMSG_TEST_APP} tests/adc_netmsg_test.cpp)
|
||||
|
||||
if (NOT doctest_FOUND)
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
@@ -51,6 +54,7 @@ if (BUILD_TESTS)
|
||||
include(CTest)
|
||||
# add_test(VALUE_HOLDER ${VALUEHOLDER_TEST_APP})
|
||||
add_test(VALUE_HOLDER ${DEVATTR_TEST_APP})
|
||||
add_test(NETMSG_TEST ${NETMSG_TEST_APP})
|
||||
enable_testing()
|
||||
endif(BUILD_TESTS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user