mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
Fix CMake code for unit test discovery.
This commit is contained in:
parent
0009f2473a
commit
9c98ed4119
@ -16,6 +16,7 @@ endif()
|
|||||||
|
|
||||||
add_executable(test-conky test-common.cc ${test_srcs})
|
add_executable(test-conky test-common.cc ${test_srcs})
|
||||||
target_link_libraries(test-conky conky_core)
|
target_link_libraries(test-conky conky_core)
|
||||||
|
catch_discover_tests(test-conky)
|
||||||
|
|
||||||
if(USING_CLANG_7)
|
if(USING_CLANG_7)
|
||||||
set(COVERAGE_LCOV_EXCLUDES
|
set(COVERAGE_LCOV_EXCLUDES
|
||||||
@ -43,5 +44,4 @@ if(USING_CLANG_7)
|
|||||||
test-conky
|
test-conky
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
test-conky)
|
test-conky)
|
||||||
catch_discover_tests(test-conky)
|
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user