Skip to content

Commit

Permalink
Use non single-header version in tests
Browse files Browse the repository at this point in the history
So coverage is calculated correctly
  • Loading branch information
funbiscuit committed Apr 12, 2022
1 parent 13ae2c3 commit ba62216
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ target_include_directories(embedded_cli_tests PRIVATE
)

target_sources(embedded_cli_tests PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/cli.c
${CMAKE_CURRENT_SOURCE_DIR}/EmbeddedCliTest.cpp
${CMAKE_CURRENT_SOURCE_DIR}/EmbeddedCliTokensTest.cpp
${CMAKE_CURRENT_SOURCE_DIR}/CliMock.cpp
${CMAKE_CURRENT_SOURCE_DIR}/CliTestRunner.cpp
)

target_link_libraries(embedded_cli_tests PRIVATE EmbeddedCLI::SingleHeader)
target_link_libraries(embedded_cli_tests PRIVATE EmbeddedCLI::EmbeddedCLI)

0 comments on commit ba62216

Please sign in to comment.