mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-03 23:50:53 +02:00
prevent to test fetcht packeage too
use only explicit add_test()
This commit is contained in:
parent
e8d1012d41
commit
75c10df2d8
3 changed files with 11 additions and 7 deletions
|
@ -59,10 +59,12 @@ endif()
|
|||
enable_testing()
|
||||
|
||||
# Note: doctest and similar testing frameworks can automatically configure CMake tests. For other
|
||||
# testing frameworks add the tests target instead: add_test(NAME greeterTests COMMAND GreeterTests)
|
||||
# testing frameworks add the tests target instead:
|
||||
add_test(NAME greeterTests COMMAND GreeterTests)
|
||||
|
||||
include(${doctest_SOURCE_DIR}/scripts/cmake/doctest.cmake)
|
||||
doctest_discover_tests(GreeterTests)
|
||||
# include(${doctest_SOURCE_DIR}/scripts/cmake/doctest.cmake)
|
||||
|
||||
# doctest_discover_tests(GreeterTests)
|
||||
|
||||
# ---- code coverage ----
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue